aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/scaling_video.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-22 15:52:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 10:05:29 +0200
commitff8a49d4b06b6ad3a4463ebc0980c74abbda2597 (patch)
treefb9bf6375354c7ec5d5b2647dc9b6aca6043815b /doc/examples/scaling_video.c
parentef0e5246601253b9f1f9c76820f24b6f31d31f93 (diff)
downloadffmpeg-ff8a49d4b06b6ad3a4463ebc0980c74abbda2597.tar.gz
avcodec/ra144enc: Fix invalid left shift of negative number
by replacing it with a multiplication. Said multiplication can't overflow an int32_t because lpc_coefs is limited to 16 bit precision. Fixes the FACE-test acodec-ra144 as well as part of #8217. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit e3fb9af6f1353f30855eaa1cbd5befaf06e303b8) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/examples/scaling_video.c')
0 files changed, 0 insertions, 0 deletions