-
Dominic Symes authored
When bit_depth is 8 the copy_rect function was setting the size to 2 bytes per sample. This causes a buffer overflow as each line copied in the loop is twice the number of bytes it should be and the last line writes off the end of the buffer. BUG=aomedia:1389 Change-Id: Ib9fa11d1dd13806dedbce2cd47dd8d562007428d
aa5904ba