[MPlayer-cvslog] r32629 - trunk/libmpdemux/muxer_lavf.c

reimar subversion at mplayerhq.hu
Tue Nov 16 20:58:55 CET 2010


Author: reimar
Date: Tue Nov 16 20:58:54 2010
New Revision: 32629

Log:
Do not initialize codec_id to a nonsense value (it was initialized
to the stream id).

Modified:
   trunk/libmpdemux/muxer_lavf.c

Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c	Sun Nov 14 16:35:53 2010	(r32628)
+++ trunk/libmpdemux/muxer_lavf.c	Tue Nov 16 20:58:54 2010	(r32629)
@@ -155,7 +155,7 @@ static muxer_stream_t* lavf_new_stream(m
 	spriv->avstream->stream_copy = 1;
 
 	ctx = spriv->avstream->codec;
-	ctx->codec_id = muxer->avih.dwStreams;
+	ctx->codec_id = CODEC_ID_NONE;
 	switch(type)
 	{
 		case MUXER_TYPE_VIDEO:


More information about the MPlayer-cvslog mailing list