changeset 35315:56081c772b4a

Remove another pointless NULL check.
author reimar
date Sat, 10 Nov 2012 14:41:32 +0000
parents eaace9a7e822
children 18fdd24d97ff
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Sat Nov 10 14:38:49 2012 +0000
+++ b/libmpdemux/muxer_lavf.c	Sat Nov 10 14:41:32 2012 +0000
@@ -228,7 +228,7 @@
 		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);