mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 18:21:04 +00:00
Correctly skip strf tag for subtitles when decoding avi.
Fixes ticket #1797.
This commit is contained in:
parent
d9bec3b6a2
commit
ccf771cd79
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user