mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-27 19:02:13 +08:00
get_buffer(): do not initialize the data.
There may be more decoders that rely on this. Those should be found and fixed.
This commit is contained in:
@@ -421,7 +421,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 -1;
|
||||
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