]> git.sesse.net Git - vlc/commitdiff
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 ac6c0506e1a5fe6d23993bde15301bbbd3f38502..af39678a115fdb2f1447212df1f7a40730befda7 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