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

reimar subversion at mplayerhq.hu
Sat Nov 10 15:41:32 CET 2012


Author: reimar
Date: Sat Nov 10 15:41:32 2012
New Revision: 35409

Log:
Remove another pointless NULL check.

Modified:
   trunk/libmpdemux/muxer_lavf.c

Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c	Sat Nov 10 15:38:49 2012	(r35408)
+++ trunk/libmpdemux/muxer_lavf.c	Sat Nov 10 15:41:32 2012	(r35409)
@@ -228,7 +228,7 @@ static void fix_parameters(muxer_stream_
 		ctx->bit_rate = 800000;
 		ctx->time_base.den = stream->h.dwRate;
 		ctx->time_base.num = stream->h.dwScale;
-		if(stream->bih && (stream->bih->biSize > sizeof(*stream->bih)))
+		if(stream->bih->biSize > sizeof(*stream->bih))
 		{
 			ctx->extradata_size = stream->bih->biSize - sizeof(*stream->bih);
 			ctx->extradata = av_malloc(ctx->extradata_size);


More information about the MPlayer-cvslog mailing list