Commit 8b516f15 authored by Aurelien Jacobs's avatar Aurelien Jacobs Committed by Anton Khirnov
Browse files

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: default avatarAnton Khirnov <anton@khirnov.net>
parent 30be1ea3
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment