From 350128b28fe181087178d128eed84fa269589ffd Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 9 Feb 2013 19:31:17 +0000 Subject: [PATCH] rv10: remove check that is always true Signed-off-by: Paul B Mahol --- libavcodec/rv10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 8cd7d0370ff..6050d5e9f23 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; -- 2.39.2