aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/caf.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2016-10-14 13:01:27 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2016-10-24 16:02:39 -0400
commitbe885da3427c5d9a6fa68229d16318afffe67193 (patch)
treea3203f05788df88cf61f01e5008c43a9ebfffb78 /libavformat/caf.h
parent490c6bda0e35498a24936fd1524317aeebed026b (diff)
downloadffmpeg-be885da3427c5d9a6fa68229d16318afffe67193.tar.gz
vp9: change order of operations in adapt_prob().
This is intended to workaround bug "665 Integer Divide Instruction May Cause Unpredictable Behavior" on some early AMD CPUs, which causes a div-by-zero in this codepath, such as reported in Mozilla bug #1293996. Note that this isn't guaranteed to fix the bug, since a compiler is free to reorder instructions that don't depend on each other. However, it appears to fix the bug in Firefox, and a similar patch was applied to libvpx also (see Chrome bug #599899).
Diffstat (limited to 'libavformat/caf.h')
0 files changed, 0 insertions, 0 deletions