X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cmdutils.c;h=7c2117637ed0ba03ada94f5c35b90ac49372b7ed;hb=a34418c28e0accd1468ca15fff4d4f138a609f4e;hp=bd6ad449f7af4e0a82a09883771a0c43a5d2d76f;hpb=bcb15e66f7c46e036be198ecc9ea5f66dc0a537c;p=ffmpeg diff --git a/cmdutils.c b/cmdutils.c index bd6ad449f7a..7c2117637ed 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1853,11 +1853,6 @@ static int alloc_buffer(FrameBuffer **pool, AVCodecContext *s, FrameBuffer **pbu av_log(s, AV_LOG_ERROR, "alloc_buffer: av_image_alloc() failed\n"); return ret; } - /* XXX this shouldn't be needed, but some tests break without this line - * those decoders are buggy and need to be fixed. - * the following tests fail: - */ - memset(buf->base[0], 128, ret); avcodec_get_chroma_sub_sample(s->pix_fmt, &h_chroma_shift, &v_chroma_shift); for (i = 0; i < FF_ARRAY_ELEMS(buf->data); i++) {