summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-25 13:55:09 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:39:32 +0100
commitf4a95058c70d829624146abd64b9b04d59dbc286 (patch)
tree0c86980f54988603ee5a6a55bed0830771b519c6 /sub
parentd77d9fb933e0e7dc34de02f3d0c13791ddd80114 (diff)
downloadmpv-f4a95058c70d829624146abd64b9b04d59dbc286.tar.bz2
mpv-f4a95058c70d829624146abd64b9b04d59dbc286.tar.xz
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 'sub')
0 files changed, 0 insertions, 0 deletions