[FFmpeg-cvslog] matroskadec: use correct compression parameters for current track CodecPrivate
Aurelien Jacobs
git at videolan.org
Sun Jan 12 15:52:49 CET 2014
ffmpeg | branch: release/1.1 | Aurelien Jacobs <aurel at gnuage.org> | Sun Aug 21 16:03:13 2011 +0200| [3e089e8f7158176edc019182d2177f5797e1cad2] | committer: Reinhard Tartler
matroskadec: use correct compression parameters for current track CodecPrivate
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable at libav.org
Signed-off-by: Anton Khirnov <anton at khirnov.net>
(cherry picked from commit 8b516f154a0a08655cec2d13d12aadc58cae0b1c)
Signed-off-by: Reinhard Tartler <siretart at tauware.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e089e8f7158176edc019182d2177f5797e1cad2
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 8a0c91b..e42118c 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1405,7 +1405,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;
More information about the ffmpeg-cvslog
mailing list