diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-30 16:41:08 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-15 16:08:44 +0100 |
commit | d2a25c4032ce6ceabb0f51b5c1e6ca865395a793 (patch) | |
tree | 9b37d46aa8ff7f9e2a24f623c72e8f50d57a95ff /cmdutils.c | |
parent | 64ed397635ef2666b0ca0c8d8c60a8bc44581d82 (diff) | |
download | ffmpeg-d2a25c4032ce6ceabb0f51b5c1e6ca865395a793.tar.gz |
get_buffer(): do not initialize the data.
There may be more decoders that rely on this. Those should be found and
fixed.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmdutils.c b/cmdutils.c index 0b3724e8a6..5b853fd910 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1563,11 +1563,6 @@ static int alloc_buffer(FrameBuffer **pool, AVCodecContext *s, FrameBuffer **pbu av_freep(&buf); 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); av_pix_fmt_get_chroma_sub_sample(s->pix_fmt, &h_chroma_shift, &v_chroma_shift); |