Merge commit 'fc85646ad495f3418042468da415af73a7a07334'
[ffmpeg.git] / libavcodec / libschroedingerdec.c
index 02cbe57c820dac73820a1b95a0030597d701de40..148a9b6098db697daee17ce63b6f3aff5ab4d307 100644 (file)
@@ -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,