Unified · Split
| @@ -204,7 +204,8 @@ static int libxevd_image_copy(struct AVCodecContext *avctx, XEVD_IMGB *imgb, str · 203 unmodified lines | |||
| 204 | } | 204 | } |
| 205 | } | 205 | } |
| 206 | 206 | ||
| 207 | if (ret = ff_get_buffer(avctx, frame, 0) < 0) | 207 | ret = ff_get_buffer(avctx, frame, 0); |
| 208 | if (ret < 0) | ||
| 208 | return ret; | 209 | return ret; |
| 209 | 210 | ||
| 210 | av_image_copy(frame->data, frame->linesize, (const uint8_t **)imgb->a, | 211 | av_image_copy(frame->data, frame->linesize, (const uint8_t **)imgb->a, |