mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/c93: stop using deprecated avcodec_set_dimensions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
be74cb5159
commit
7722ae35eb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user