diff options
-rw-r--r-- | libavcodec/libschroedingerdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c index 02cbe57c82..148a9b6098 100644 --- a/libavcodec/libschroedingerdec.c +++ b/libavcodec/libschroedingerdec.c @@ -309,9 +309,9 @@ static int libschroedinger_decode_frame(AVCodecContext *avctx, framewithpts = ff_schro_queue_pop(&p_schro_params->dec_frame_queue); if (framewithpts && framewithpts->frame && framewithpts->frame->components[0].stride) { - - if ((ret = ff_get_buffer(avctx, avframe, 0)) < 0) + if ((ret = ff_get_buffer(avctx, avframe, 0)) < 0) { goto end; + } memcpy(avframe->data[0], framewithpts->frame->components[0].data, |