You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Correctly skip strf tag for subtitles when decoding avi.
Fixes ticket #1797.
This commit is contained in:
@@ -691,6 +691,7 @@ static int avi_read_header(AVFormatContext *s)
|
|||||||
case AVMEDIA_TYPE_SUBTITLE:
|
case AVMEDIA_TYPE_SUBTITLE:
|
||||||
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
|
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
|
||||||
st->request_probe= 1;
|
st->request_probe= 1;
|
||||||
|
avio_skip(pb, size);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
st->codec->codec_type = AVMEDIA_TYPE_DATA;
|
st->codec->codec_type = AVMEDIA_TYPE_DATA;
|
||||||
|
Reference in New Issue
Block a user