Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-09-29 18:50:35 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2017-08-04 20:16:46 +0300
commitc4e917791d80405cc126d8f91cba845713694b2c (patch)
tree3f015c977528077ec9d21b5dd11e605a5985b789
parent55efbce4bc74c05a56a81fc46ea9642428b915dd (diff)
matroskadec_haali: fix ass style on segmented mkvs
-rw-r--r--libavformat/matroskadec_haali.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec_haali.c b/libavformat/matroskadec_haali.c
index 62300426b3..43d850650c 100644
--- a/libavformat/matroskadec_haali.c
+++ b/libavformat/matroskadec_haali.c
@@ -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) {