diff options
author | John Brooks <john.brooks@bluecherry.net> | 2011-12-12 17:04:14 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-21 08:28:08 +0100 |
commit | 9b6aafba6c06ef62783dd5e9c5ed668f3a095128 (patch) | |
tree | 3a02ccf7a244c2326bdfe49bf1b5a853b2281cfb /libavformat/options.c | |
parent | 5d95112d926760046bc0b07aeda5cfc766ba54a6 (diff) | |
download | ffmpeg-9b6aafba6c06ef62783dd5e9c5ed668f3a095128.tar.gz |
mpegvideo: fix invalid memory access for small video dimensions
When either video dimension is only one macroblock, subtractions
based on v_edge_pos and the macroblock size may be negative. In
that situation, an unsigned comparison isn't sufficent to test for
MV overruns, because a limit of (unsigned)-1 will let any other
value pass.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/options.c')
0 files changed, 0 insertions, 0 deletions