aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.h
diff options
context:
space:
mode:
authorKaterina Barone-Adesi <katerinab@gmail.com>2016-03-02 18:52:25 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-05 08:26:36 -0500
commit1389b4c18d1042c196603ba66c25113bcee1738b (patch)
treee7a6f5258a868a4e6b854f986773431debe6eb38 /libavcodec/dv.h
parente10b7ef2fe56603fb1baac6b20fd6bd0a3fdd0d0 (diff)
downloadffmpeg-1389b4c18d1042c196603ba66c25113bcee1738b.tar.gz
idct8x8: Fix undefined negative shifts
The original code left-shifts negative values, which is undefined in the C99 specification (the one used during normal Libav compilation). This change multiplies by (1 << shift), which is functionally equivalent, but has defined behavior. With this change, fate-idct8x8 compiled with --fsanitize=undefined works. Bug-Id: 686
Diffstat (limited to 'libavcodec/dv.h')
0 files changed, 0 insertions, 0 deletions