diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-11-30 10:18:37 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-11-30 10:18:37 +0100 |
commit | ccf771cd79648ee010a2f3c7b1f5317992e04127 (patch) | |
tree | 408c2b5114c91c38647aa5335b7071b872b9276b | |
parent | d9bec3b6a29aaa41f7db80c32e444c6222430919 (diff) | |
download | ffmpeg-ccf771cd79648ee010a2f3c7b1f5317992e04127.tar.gz |
Correctly skip strf tag for subtitles when decoding avi.
Fixes ticket #1797.
-rw-r--r-- | libavformat/avidec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 8f478b152d..974071cdda 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; |