Files
ffmpeg/libavcodec
Dale Curtis 13763f7192 Fix undefined shift on assumed 8-bit input.
decode_user_data() attempts to create an integer |build|
value with 8 bits of spacing for 3 components. However
each component is an int32_t, so shifting each component
is undefined for values outside of the 8 bit range.

This patch simply clamps input to 8-bits per component
and prints out a warning that the values were clamped.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7010dd98b5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-01-08 23:19:14 +01:00
..
2015-08-22 06:16:31 +01:00
2017-06-16 01:05:28 +02:00
2017-07-16 17:02:30 +02:00
2017-05-14 17:32:51 +02:00
2018-01-08 23:19:14 +01:00
2017-05-14 15:31:17 +02:00
2017-06-16 01:05:29 +02:00
2017-06-16 01:05:27 +02:00
2017-06-16 01:05:27 +02:00
2017-07-19 02:50:33 +02:00
2017-07-26 00:14:21 +02:00