Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r--libavcodec/rv30.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index 48d769142c..3292ad010b 100644
--- a/libavcodec/rv30.c
+++ b/libavcodec/rv30.c
@@ -251,8 +251,7 @@ static av_cold int rv30_decode_init(AVCodecContext *avctx)
int ret;
r->rv30 = 1;
- ret = ff_rv34_decode_init(avctx);
- if (ret < 0)
+ if ((ret = ff_rv34_decode_init(avctx)) < 0)
return ret;
if(avctx->extradata_size < 2){
av_log(avctx, AV_LOG_ERROR, "Extradata is too small.\n");