[Ffmpeg-cvslog] r6923 - trunk/libavformat/matroska.c
aurel
subversion
Tue Nov 7 00:14:37 CET 2006
Author: aurel
Date: Tue Nov 7 00:14:37 2006
New Revision: 6923
Modified:
trunk/libavformat/matroska.c
Log:
Ensure codec_id = CODEC_ID_NONE for unknown codecs (don't reuse previous one).
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Mon, 06 Nov 2006 21:20:14 +0100
Subject: [Ffmpeg-devel] [PATCH] Matroska known/unknown codec
Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c (original)
+++ trunk/libavformat/matroska.c Tue Nov 7 00:14:37 2006
@@ -2138,11 +2138,11 @@
/* Have we found a cluster? */
if (res == 1) {
int i, j;
- enum CodecID codec_id= CODEC_ID_NONE;
MatroskaTrack *track;
AVStream *st;
for (i = 0; i < matroska->num_tracks; i++) {
+ enum CodecID codec_id = CODEC_ID_NONE;
void *extradata = NULL;
int extradata_size = 0;
track = matroska->tracks[i];
More information about the ffmpeg-cvslog
mailing list