You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/h261dec: Fix context initialization sequence
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -609,11 +609,10 @@ retry:
|
||||
s->parse_context = pc;
|
||||
}
|
||||
|
||||
if (!s->context_initialized)
|
||||
if (!s->context_initialized) {
|
||||
if ((ret = ff_MPV_common_init(s)) < 0)
|
||||
return ret;
|
||||
|
||||
if (!s->context_initialized) {
|
||||
ret = ff_set_dimensions(avctx, s->width, s->height);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user