X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmpegpicture.c;h=302f9d20d37060e714c520842b7b73a2bacd7bb8;hb=f0ecbb13cf1cf706a1350dad657219dc7b3c131e;hp=6748fc2986a4a14c00d87a36c3dbf1606c7460b7;hpb=3c81fa9a9c5f56078e09b564a27821031876ad61;p=ffmpeg diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index 6748fc2986a..302f9d20d37 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -76,7 +76,7 @@ int ff_mpeg_framesize_alloc(AVCodecContext *avctx, MotionEstContext *me, // at uvlinesize. It supports only YUV420 so 24x24 is enough // linesize * interlaced * MBsize // we also use this buffer for encoding in encode_mb_internal() needig an additional 32 lines - FF_ALLOCZ_ARRAY_OR_GOTO(avctx, sc->edge_emu_buffer, alloc_size, 4 * 68, + FF_ALLOCZ_ARRAY_OR_GOTO(avctx, sc->edge_emu_buffer, alloc_size, 4 * 70, fail); FF_ALLOCZ_ARRAY_OR_GOTO(avctx, me->scratchpad, alloc_size, 4 * 16 * 2,