Showing the changes to libavcodec (1 of 1 file). Show all
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 | 209 | return ret; |
| 209 | 210 | |
| 210 | 211 | av_image_copy(frame->data, frame->linesize, (const uint8_t **)imgb->a, |