aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-11-30 10:18:37 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-11-30 10:18:37 +0100
commitccf771cd79648ee010a2f3c7b1f5317992e04127 (patch)
tree408c2b5114c91c38647aa5335b7071b872b9276b
parentd9bec3b6a29aaa41f7db80c32e444c6222430919 (diff)
downloadffmpeg-ccf771cd79648ee010a2f3c7b1f5317992e04127.tar.gz
Correctly skip strf tag for subtitles when decoding avi.
Fixes ticket #1797.
-rw-r--r--libavformat/avidec.c1
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;