1
0

avidec: force probing of subtitle streams

This commit is contained in:
Hendrik Leppkes 2012-10-07 13:28:32 +02:00
parent 045fd7ac33
commit cbe8a15647
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5

View File

@ -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;