]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/filmstripdec.c
lavc: schedule FF_BUG_AC_VLC for removal on the next major bump.
[ffmpeg] / libavformat / filmstripdec.c
index 074194a8ced4509cdeeb3415071371c4143e6ee2..3fa68424b7ecdd6f3aec09444b2e8b8e18b11745 100644 (file)
@@ -55,14 +55,14 @@ static int read_header(AVFormatContext *s)
 
     st->nb_frames = avio_rb32(pb);
     if (avio_rb16(pb) != 0) {
-        av_log_ask_for_sample(s, "unsupported packing method\n");
-        return AVERROR_INVALIDDATA;
+        avpriv_request_sample(s, "Unsupported packing method");
+        return AVERROR_PATCHWELCOME;
     }
 
     avio_skip(pb, 2);
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    st->codec->codec_id   = CODEC_ID_RAWVIDEO;
-    st->codec->pix_fmt    = PIX_FMT_RGBA;
+    st->codec->codec_id   = AV_CODEC_ID_RAWVIDEO;
+    st->codec->pix_fmt    = AV_PIX_FMT_RGBA;
     st->codec->codec_tag  = 0; /* no fourcc */
     st->codec->width      = avio_rb16(pb);
     st->codec->height     = avio_rb16(pb);