rv10: remove check that is always true
authorPaul B Mahol <onemda@gmail.com>
Sat, 9 Feb 2013 19:31:17 +0000 (19:31 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 9 Feb 2013 19:32:43 +0000 (19:32 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/rv10.c

index 8cd7d03..6050d5e 100644 (file)
@@ -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;