]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion1.c
Add MPL2 subtitles demuxer and decoder.
[ffmpeg] / libavcodec / truemotion1.c
index 6378d6388d217437b97b88e46aa03ae1cffa6032..e2c1d2804acd829f6946868a13339a05f19544a1 100644 (file)
@@ -356,7 +356,7 @@ static int truemotion1_decode_header(TrueMotion1Context *s)
     if (s->flags & FLAG_SPRITE) {
         av_log_ask_for_sample(s->avctx, "SPRITE frame found.\n");
         /* FIXME header.width, height, xoffset and yoffset aren't initialized */
-        return -1;
+        return AVERROR_PATCHWELCOME;
     } else {
         s->w = header.xsize;
         s->h = header.ysize;