summaryrefslogtreecommitdiff
path: root/libavutil/md5.c
diff options
context:
space:
mode:
authorKaterina Barone-Adesi <katerinab@gmail.com>2014-05-19 17:27:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-20 04:21:06 +0200
commite50ae60d46181814245f70b61b70394311e10373 (patch)
tree84197bc05af463440414de72ca6620299e564586 /libavutil/md5.c
parent7d25af1547f8d97231f1c6e4cab7ad2bbf1dd071 (diff)
avcodec/fate-idct8x8: Defined behavior: eliminate negative left-shifts.
The original code left-shifts negative values, which is undefined in the C99 specification (the one used during normal FFmpeg 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 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> The assembly generated by gcc is unchanged by this commit
Diffstat (limited to 'libavutil/md5.c')
0 files changed, 0 insertions, 0 deletions