FFMPEG FOURCC: commit fix for older FFMPEG versions.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 11 May 2007 23:59:19 +0000 (23:59 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 11 May 2007 23:59:19 +0000 (23:59 +0000)
modules/codec/ffmpeg/ffmpeg.c

index ac6c050..af39678 100644 (file)
@@ -1095,6 +1095,8 @@ static struct
       VIDEO_ES, "TIFF Image" },
     { VLC_FOURCC('g','i','f',' '), CODEC_ID_GIF,
       VIDEO_ES, "GIF Image" },
+#endif
+#if LIBAVCODEC_VERSION_INT >= ((51<<16)+(40<<8)+3)
     { VLC_FOURCC('s','g','i',' '), CODEC_ID_SGI,
       VIDEO_ES, "SGI Image" },
 #endif