]> git.sesse.net Git - ffmpeg/commit
avcodec/dvenc: Fix undefined left shift of negative numbers
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 29 Sep 2020 12:58:24 +0000 (14:58 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 4 Oct 2020 21:36:50 +0000 (23:36 +0200)
commit6770057ac97e78c799f06eb3769fecdb0833d44f
treec80996229369c15c875d3ab3b9d8966269ea445f
parent3a035a8cd2ca6875073e59a76f9862dc02ad1d9b
avcodec/dvenc: Fix undefined left shift of negative numbers

The earlier code was based on the assumption that AVFrame.linesize can
not be negative.

Fixes ticket #8280.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/dvenc.c