diff options
author | John Koleszar <jkoleszar@google.com> | 2012-02-07 10:26:48 -0800 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-02-07 10:40:26 -0800 |
commit | 417b8529678039e7c8ecbfd954685019e4fc387a (patch) | |
tree | 6667b942cf5defd26414d1a8e82373cf54ac6baf /vp8/encoder | |
parent | 45f4b87e8e274256c5f13662f243c27b8eb187d5 (diff) | |
download | libvpx-417b8529678039e7c8ecbfd954685019e4fc387a.tar libvpx-417b8529678039e7c8ecbfd954685019e4fc387a.tar.gz libvpx-417b8529678039e7c8ecbfd954685019e4fc387a.tar.bz2 libvpx-417b8529678039e7c8ecbfd954685019e4fc387a.zip |
Align internal mfqe framebuffer dimensions
MFQE postproc crashed with stream dimensions not a multiple of 16.
The buffer was memset unconditionally, so if the buffer allocation
fails we end up trying to write to NULL.
This patch traps an allocation failure with vpx_internal_error(),
and aligns the buffer dimensions to what vp8_yv12_alloc_frame_buffer()
expects.
Change-Id: I3915d597cd66886a24f4ef39752751ebe6425066
Diffstat (limited to 'vp8/encoder')
0 files changed, 0 insertions, 0 deletions