changeset 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 45b3a91e8fb7
children 18338ee51c9d
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: