aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin/vp3_bfin.c
diff options
context:
space:
mode:
authorMark Himsley <mark@mdsh.com>2011-03-18 15:25:26 +0000
committerAnton Khirnov <anton@khirnov.net>2011-04-25 22:45:44 +0200
commitb04d1abb40d32d8d08df39733e1b04a8a2f814ab (patch)
tree26967798d1503d17dfbc3fe3260ea6bd583ef4cb /libavcodec/bfin/vp3_bfin.c
parent9026b27e84f6cf6b0133d7aab5b874500bcc5313 (diff)
downloadffmpeg-b04d1abb40d32d8d08df39733e1b04a8a2f814ab.tar.gz
fade: fix draw_slice() check on fade->factor value
draw_slice() checks that the fade factor is < 65536 and only calculates the fade if so. But the fade factor is clipped in end_frame() by av_clip_uint16() to 65535, so the fade is calculated for every frame. This patch alters the check so that it compares with < 65535 (UINT16_MAX). Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/bfin/vp3_bfin.c')
0 files changed, 0 insertions, 0 deletions