Changeset 19d82cb1 in ffmpeg

Timestamp:
Mar 18, 2011, 10:25:33 PM (14 years ago)
Author:
Stefano Sabatini <stefano.sabatini-lala@poste.it>
Branches:
master
Children:
c9f6eab
Parents:
1527e689
git-author:
Mark Himsley <mark@mdsh.com> (03/18/11 15:25:26)
git-committer:
Stefano Sabatini <stefano.sabatini-lala@poste.it> (03/18/11 22:25:33)
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.