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:
-rw-r--r--libavcodec/c93.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/c93.c b/libavcodec/c93.c
index f25368b101..9ac804ef72 100644
--- a/libavcodec/c93.c
+++ b/libavcodec/c93.c
@@ -127,7 +127,8 @@ static int decode_frame(AVCodecContext *avctx, void *data,
uint8_t *out;
int stride, ret, i, x, y, b, bt = 0;
- avcodec_set_dimensions(avctx, WIDTH, HEIGHT);
+ if ((ret = ff_set_dimensions(avctx, WIDTH, HEIGHT)) < 0)
+ return ret;
c93->currentpic ^= 1;