Commit dc6c36ce authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: use correct compression parameters for current track CodecPrivate

parent 4fe796b3
...@@ -1348,7 +1348,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -1348,7 +1348,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
for (i=0; i < matroska->tracks.nb_elem; i++) { for (i=0; i < matroska->tracks.nb_elem; i++) {
MatroskaTrack *track = &tracks[i]; MatroskaTrack *track = &tracks[i];
enum CodecID codec_id = CODEC_ID_NONE; enum CodecID codec_id = CODEC_ID_NONE;
EbmlList *encodings_list = &tracks->encodings; EbmlList *encodings_list = &track->encodings;
MatroskaTrackEncoding *encodings = encodings_list->elem; MatroskaTrackEncoding *encodings = encodings_list->elem;
uint8_t *extradata = NULL; uint8_t *extradata = NULL;
int extradata_size = 0; 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