]> git.sesse.net Git - mlt/commitdiff
Fix compile error on older versions of FFmepg 0.10 and 0.11.
authorDan Dennedy <dan@dennedy.org>
Mon, 24 Jun 2013 06:13:38 +0000 (23:13 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 24 Jun 2013 06:13:38 +0000 (23:13 -0700)
src/modules/avformat/consumer_avformat.c

index ff7a2c72f7787215f1b41dc7d320a585dfbc1d41..295e7fc65ce6411dcb07827aac8fdc37b89c17d8 100644 (file)
@@ -63,6 +63,7 @@
 #define AV_CODEC_ID_AC3       CODEC_ID_AC3
 #define AV_CODEC_ID_VORBIS    CODEC_ID_VORBIS
 #define AV_CODEC_ID_RAWVIDEO  CODEC_ID_RAWVIDEO
+#define AV_CODEC_ID_MJPEG     CODEC_ID_MJPEG
 #endif
 
 #define MAX_AUDIO_STREAMS (8)