dev-python/pyfeyn: cleaning old
[gentoo.git] / media-video / bombono-dvd / files / bombono-dvd-1.2.2-ffmpeg2.patch
1 --- src/mgui/ffviewer.cpp.ORIG  2013-08-01 11:05:12.962407787 +0200
2 +++ src/mgui/ffviewer.cpp       2013-08-01 11:08:26.907409685 +0200
3 @@ -62,7 +62,7 @@
4  
5  typedef struct AVCodecTag {
6  #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,39,00)
7 -    enum CodecID id;
8 +    enum AVCodecID id;
9  #else
10      int id;
11  #endif
12 @@ -70,14 +70,14 @@
13  } AVCodecTag;
14  
15  #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52,34,00)
16 -static uint FFCodecID2Tag(CodecID codec_id) 
17 +static uint FFCodecID2Tag(AVCodecID codec_id) 
18  {
19      unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id);
20      extern const AVCodecTag ff_codec_bmp_tags[];
21      return ff_codec_get_tag(ff_codec_bmp_tags, codec_id);
22  }
23  #else
24 -static uint FFCodecID2Tag(CodecID codec_id) 
25 +static uint FFCodecID2Tag(AVCodecID codec_id) 
26  {
27      unsigned int codec_get_tag(const AVCodecTag *tags, int id);
28      extern const AVCodecTag codec_bmp_tags[];
29 @@ -388,7 +388,7 @@
30      return (tag>>bit_begin) & 0xFF;
31  }
32  
33 -static std::string CodecID2Str(CodecID codec_id)
34 +static std::string CodecID2Str(AVCodecID codec_id)
35  {
36  #ifdef _MSC_VER
37      std::string tag_str = boost::format("%1%") % codec_id % bf::stop;
38 @@ -406,7 +406,7 @@
39  
40  #else // CALC_FF_TAG
41  
42 -static std::string CodecID2Str(CodecID codec_id)
43 +static std::string CodecID2Str(AVCodecID codec_id)
44  {
45      return Int2Str(codec_id);
46  }