]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_framerate: fix scene score with negative linesize
authorMarton Balint <cus@passwd.hu>
Sun, 10 Dec 2017 18:01:03 +0000 (19:01 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 21 Dec 2017 22:03:10 +0000 (23:03 +0100)
commite403e4bdbea08af0c4a068eb560b577d1b64cf7a
treed6af11038c71a23c2ab166823a6b3c0329adc482
parentc6a65ed67088fd61017f14691b5fcecd133d9eeb
avfilter/vf_framerate: fix scene score with negative linesize

Also, do not overread input if linesize > width, or linesize is not divisible
by 8, and use the proper rounded width/height for MAFD calculation.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/vf_framerate.c