From: Paul B Mahol Date: Sat, 9 Feb 2013 19:31:17 +0000 (+0000) Subject: rv10: remove check that is always true X-Git-Tag: n1.2~576 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=350128b28fe181087178d128eed84fa269589ffd rv10: remove check that is always true Signed-off-by: Paul B Mahol --- diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 8cd7d0370f..6050d5e9f2 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -497,7 +497,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) } if(avctx->debug & FF_DEBUG_PICT_INFO){ - av_log(avctx, AV_LOG_DEBUG, "ver:%X ver0:%X\n", rv->sub_id, avctx->extradata_size >= 4 ? ((uint32_t*)avctx->extradata)[0] : -1); + av_log(avctx, AV_LOG_DEBUG, "ver:%X ver0:%X\n", rv->sub_id, ((uint32_t*)avctx->extradata)[0]); } avctx->pix_fmt = AV_PIX_FMT_YUV420P;