Re: [FFmpeg-devel] [PATCH 11/11] aaccoder: zero ms_mask bands on execution

2015-06-28 Thread Claudio Freire
On Fri, Jun 26, 2015 at 5:16 PM, Rostislav Pehlivanov wrote: > +memset(cpe->ms_mask, 0, sizeof(uint8_t)*128); sizeof(cpe->ms_mask) would be safer ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 11/11] aaccoder: zero ms_mask bands on execution

2015-06-26 Thread Rostislav Pehlivanov
Coders other than twoloop require this to be set or else the marked bands would continue to be encoded via M/S until the end of the file. --- libavcodec/aaccoder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index 6b64c8e..5a6a243 100644 --