You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/c93: force dimensions to the correct value instead of depending on the demuxer to do so
Fixes Ticket2934 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -127,6 +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);
|
||||
|
||||
c93->currentpic ^= 1;
|
||||
|
||||
if ((ret = ff_reget_buffer(avctx, newpic)) < 0)
|
||||
|
Reference in New Issue
Block a user