diff options
author | 2012-12-25 13:55:09 +0100 | |
---|---|---|
committer | 2013-01-13 17:39:32 +0100 | |
commit | f4a95058c70d829624146abd64b9b04d59dbc286 (patch) | |
tree | 0c86980f54988603ee5a6a55bed0830771b519c6 /video/out/pnm_loader.c | |
parent | d77d9fb933e0e7dc34de02f3d0c13791ddd80114 (diff) |
vo_corevideo: correct stride usage
The code assumed mp_image_alloc() would allocate an image large enough
for corevideo's stride, which doesn't have to be the case. If
corevideo's stride was larger than the stride of mp_image, the memcpy()
would write beyond the mp_image allocation.
This probably didn't actually happen, but fix the code to be more
correct anyway.
Diffstat (limited to 'video/out/pnm_loader.c')
0 files changed, 0 insertions, 0 deletions