diff libmpdemux/muxer_lavf.c @ 32542:775be5bfdcb3

Do not initialize codec_id to a nonsense value (it was initialized to the stream id).
author reimar
date Tue, 16 Nov 2010 19:58:54 +0000
parents adae664c1961
children 3544ba7244bf
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Sun Nov 14 15:35:53 2010 +0000
+++ b/libmpdemux/muxer_lavf.c	Tue Nov 16 19:58:54 2010 +0000
@@ -155,7 +155,7 @@
 	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: