[FFmpeg-cvslog] matroskadec: use correct compression parameters for current track CodecPrivate
Aurelien Jacobs
git at videolan.org
Fri Nov 22 12:10:57 CET 2013
ffmpeg | branch: master | Aurelien Jacobs <aurel at gnuage.org> | Sun Aug 21 16:03:13 2011 +0200| [8b516f154a0a08655cec2d13d12aadc58cae0b1c] | committer: Anton Khirnov
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>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b516f154a0a08655cec2d13d12aadc58cae0b1c
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 764dbf8..bcd7d1a 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list