[FFmpeg-cvslog] Correctly skip strf tag for subtitles when decoding avi.

Carl Eugen Hoyos git at videolan.org
Fri Nov 30 10:19:45 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Nov 30 10:18:37 2012 +0100| [ccf771cd79648ee010a2f3c7b1f5317992e04127] | committer: Carl Eugen Hoyos

Correctly skip strf tag for subtitles when decoding avi.

Fixes ticket #1797.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ccf771cd79648ee010a2f3c7b1f5317992e04127
---

 libavformat/avidec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 8f478b1..974071c 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -691,6 +691,7 @@ static int avi_read_header(AVFormatContext *s)
                 case AVMEDIA_TYPE_SUBTITLE:
                     st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
                     st->request_probe= 1;
+                    avio_skip(pb, size);
                     break;
                 default:
                     st->codec->codec_type = AVMEDIA_TYPE_DATA;



More information about the ffmpeg-cvslog mailing list