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;