1
0
Fork 0

matroskadec_haali: fix ass style on segmented mkvs

This commit is contained in:
Hendrik Leppkes 2014-09-29 16:50:35 +02:00
parent 8625df5f4c
commit e1da7568ed
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ static int mkv_read_header(AVFormatContext *s)
}
} else if (info->Type == TT_SUB) {
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
if (st->codec->codec_id == AV_CODEC_ID_SSA) {
if (st->codec->codec_id == AV_CODEC_ID_ASS) {
/* HACK: Try to get the privdata of the main segments SSA track, otherwise DirectShow renderers fail */
unsigned num = mkv_GetNumTracks(ctx->segments[0]->matroska);
if (num > i) {