Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -1295,7 +1295,8 @@ int ff_h263_decode_picture_header(MpegEncContext *s) · 1294 unmodified lines | |||
| 1295 | s->qscale = get_bits(&s->gb, 5); | 1295 | s->qscale = get_bits(&s->gb, 5); |
| 1296 | } | 1296 | } |
| 1297 | 1297 | ||
| 1298 | if ((ret = av_image_check_size(s->width, s->height, 0, s)) < 0) | 1298 | ret = av_image_check_size(s->width, s->height, 0, s->avctx); |
| 1299 | if (ret < 0) | ||
| 1299 | return ret; | 1300 | return ret; |
| 1300 | 1301 | ||
| 1301 | if (!(s->avctx->flags2 & AV_CODEC_FLAG2_CHUNKS)) { | 1302 | if (!(s->avctx->flags2 & AV_CODEC_FLAG2_CHUNKS)) { |