Commit ccf771cd authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Correctly skip strf tag for subtitles when decoding avi.

Fixes ticket #1797.
parent d9bec3b6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment