summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-09 19:31:17 +0000
committerPaul B Mahol <onemda@gmail.com>2013-02-09 19:32:43 +0000
commit350128b28fe181087178d128eed84fa269589ffd (patch)
tree911ed5592a6a458a43b5652221d3d3d868d5a1c4 /libavcodec/rv10.c
parentb5fc95e77f9e154978d914548b86a8bc9fd1d0f2 (diff)
rv10: remove check that is always true
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
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;