mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
5189793bc0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
diff -u -r -N old/src/mgui/ffviewer.cpp new/src/mgui/ffviewer.cpp
|
|
--- old/src/mgui/ffviewer.cpp 2016-04-10 15:15:39.000000000 +0430
|
|
+++ new/src/mgui/ffviewer.cpp 2016-06-18 10:40:26.789941610 +0430
|
|
@@ -74,7 +74,7 @@
|
|
|
|
typedef struct AVCodecTag {
|
|
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,39,00)
|
|
- enum CodecID id;
|
|
+ enum AVCodecID id;
|
|
#else
|
|
int id;
|
|
#endif
|
|
@@ -82,14 +82,14 @@
|
|
} AVCodecTag;
|
|
|
|
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,34,00)
|
|
-static uint FFCodecID2Tag(CodecID codec_id)
|
|
+static uint FFCodecID2Tag(AVCodecID codec_id)
|
|
{
|
|
unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id);
|
|
extern const AVCodecTag ff_codec_bmp_tags[];
|
|
return ff_codec_get_tag(ff_codec_bmp_tags, codec_id);
|
|
}
|
|
#else
|
|
-static uint FFCodecID2Tag(CodecID codec_id)
|
|
+static uint FFCodecID2Tag(AVCodecID codec_id)
|
|
{
|
|
unsigned int codec_get_tag(const AVCodecTag *tags, int id);
|
|
extern const AVCodecTag codec_bmp_tags[];
|
|
@@ -400,7 +400,7 @@
|
|
return (tag>>bit_begin) & 0xFF;
|
|
}
|
|
|
|
-static std::string CodecID2Str(CodecID codec_id)
|
|
+static std::string CodecID2Str(AVCodecID codec_id)
|
|
{
|
|
#ifdef _MSC_VER
|
|
std::string tag_str = boost::format("%1%") % codec_id % bf::stop;
|
|
|