[FFmpeg-cvslog] matroskadec: use correct compression parameters for current track CodecPrivate

Aurelien Jacobs git at videolan.org
Thu Aug 18 00:21:11 CEST 2011


ffmpeg | branch: master | Aurelien Jacobs <aurel at gnuage.org> | Thu Aug 18 00:21:21 2011 +0200| [dc6c36ce46d4c4d7cb63503afc2ee44f00bf3725] | committer: Aurelien Jacobs

matroskadec: use correct compression parameters for current track CodecPrivate

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc6c36ce46d4c4d7cb63503afc2ee44f00bf3725
---

 libavformat/matroskadec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index d4f41c2..9cf3e95 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;



More information about the ffmpeg-cvslog mailing list