[FFmpeg-devel] [PATCH]Fix reading subtitle tags when decoding avi
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Nov 30 01:19:25 CET 2012
Hi!
Attached patch fixes ticket #1797 for me.
Please comment, Carl Eugen
-------------- next part --------------
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-devel
mailing list