aballier    15/02/06 10:15:21

  Added:                backlite-1.0.3-ffmpeg2.patch
  Log:
  fix build with ffmpeg2, bug #515160. patch grabbed from k9copy ebuild
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  app-cdr/backlite/files/backlite-1.0.3-ffmpeg2.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/backlite/files/backlite-1.0.3-ffmpeg2.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/backlite/files/backlite-1.0.3-ffmpeg2.patch?rev=1.1&content-type=text/plain

Index: backlite-1.0.3-ffmpeg2.patch
===================================================================
https://bugs.gentoo.org/show_bug.cgi?id=515160

Index: backlite-1.0.3/src/import/k9avidecode.h
===================================================================
--- backlite-1.0.3.orig/src/import/k9avidecode.h
+++ backlite-1.0.3/src/import/k9avidecode.h
@@ -40,7 +40,11 @@ typedef int (*avformat_find_stream_info_
 #else
 typedef int (*av_find_stream_info_t)(AVFormatContext *);
 #endif
+#if LIBAVCODEC_VERSION_MAJOR < 55
 typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID);
+#else
+typedef AVCodec* (*avcodec_find_decoder_t)(enum AVCodecID);
+#endif
 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
 typedef int (*avcodec_open2_t)(AVCodecContext *, AVCodec *, AVDictionary **);
 #else




Reply via email to