mirror of https://github.com/FFmpeg/FFmpeg.git
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).pull/248/head
parent
490c6bda0e
commit
be885da342
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue