« Previous | Next » 

Revision b04d1abb

IDb04d1abb40d32d8d08df39733e1b04a8a2f814ab
Parent 9026b27e
Child c61bfc11

Added by Mark Himsley about 9 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences