diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2011-08-21 16:03:13 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-21 20:54:55 +0100 |
commit | 8b516f154a0a08655cec2d13d12aadc58cae0b1c (patch) | |
tree | 0776a686c1e4cdc1899b04f9a9361c4c936ec336 | |
parent | 30be1ea33e5525266ad871bed60b1893a53caeaf (diff) | |
download | ffmpeg-8b516f154a0a08655cec2d13d12aadc58cae0b1c.tar.gz |
matroskadec: use correct compression parameters for current track CodecPrivate
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 764dbf82b9..bcd7d1acc2 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1455,7 +1455,7 @@ static int matroska_read_header(AVFormatContext *s) for (i=0; i < matroska->tracks.nb_elem; i++) { MatroskaTrack *track = &tracks[i]; enum AVCodecID codec_id = AV_CODEC_ID_NONE; - EbmlList *encodings_list = &tracks->encodings; + EbmlList *encodings_list = &track->encodings; MatroskaTrackEncoding *encodings = encodings_list->elem; uint8_t *extradata = NULL; int extradata_size = 0; |