avidec: force probing of subtitle streams
This commit is contained in:
parent
045fd7ac33
commit
cbe8a15647
@ -717,7 +717,8 @@ static int avi_read_header(AVFormatContext *s)
|
||||
codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
break;
|
||||
case MKTAG('t', 'x', 't', 's'):
|
||||
codec_type = AVMEDIA_TYPE_SUBTITLE;
|
||||
st->codecpar->codec_type = codec_type = AVMEDIA_TYPE_SUBTITLE;
|
||||
ffstream(st)->request_probe = 1;
|
||||
break;
|
||||
case MKTAG('d', 'a', 't', 's'):
|
||||
codec_type = AVMEDIA_TYPE_DATA;
|
||||
|
Loading…
Reference in New Issue
Block a user