diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2011-08-18 00:21:21 +0200 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2011-08-18 00:21:21 +0200 |
commit | dc6c36ce46d4c4d7cb63503afc2ee44f00bf3725 (patch) | |
tree | 34d16a1e4e740b00dfe061f35cd041f422be81b7 /libavformat/matroskadec.c | |
parent | 4fe796b32a36aab98cbb5f2bddaddc4db1ad64de (diff) | |
download | ffmpeg-dc6c36ce46d4c4d7cb63503afc2ee44f00bf3725.tar.gz |
matroskadec: use correct compression parameters for current track CodecPrivate
Diffstat (limited to 'libavformat/matroskadec.c')
-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 d4f41c224e..9cf3e956fc 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1348,7 +1348,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) for (i=0; i < matroska->tracks.nb_elem; i++) { MatroskaTrack *track = &tracks[i]; enum CodecID codec_id = 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; |