Merge commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793'
* commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793': get_buffer(): do not initialize the data. Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -467,7 +467,6 @@ static int video_get_buffer(AVCodecContext *s, AVFrame *pic)
|
||||
buf->base[i] = av_malloc(size[i] + 16); //FIXME 16
|
||||
if (buf->base[i] == NULL)
|
||||
return AVERROR(ENOMEM);
|
||||
memset(buf->base[i], 128, size[i]);
|
||||
|
||||
// no edge if EDGE EMU or not planar YUV
|
||||
if ((s->flags & CODEC_FLAG_EMU_EDGE) || !size[2])
|
||||
|
Reference in New Issue
Block a user