]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/filmstripdec.c
lavf/mxfenc: better error handling with invalid frame rate.
[ffmpeg] / libavformat / filmstripdec.c
index 20ab4a70fb38a362ed6801de113283d873316ef4..2f3aa6c6d113a75115072d0c53f9f32bf7ac45ba 100644 (file)
@@ -61,7 +61,7 @@ static int read_header(AVFormatContext *s)
 
     avio_skip(pb, 2);
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    st->codec->codec_id   = CODEC_ID_RAWVIDEO;
+    st->codec->codec_id   = AV_CODEC_ID_RAWVIDEO;
     st->codec->pix_fmt    = PIX_FMT_RGBA;
     st->codec->codec_tag  = 0; /* no fourcc */
     st->codec->width      = avio_rb16(pb);