mpegvideo_parser: avoid signed overflow in bitrate calculation
authorAnton Khirnov <anton@khirnov.net>
Sat, 17 Dec 2016 14:07:51 +0000 (15:07 +0100)
committerSean McGovern <gseanmcg@gmail.com>
Fri, 23 Dec 2016 00:41:07 +0000 (19:41 -0500)
commit9f0193c778175cea3fb43f17acf9b90b4d862d33
tree5b5ec2a8d42e995553687912e2b1b8519119451b
parent01586433e50e9625b1f69c817011ebc62d7a5b80
mpegvideo_parser: avoid signed overflow in bitrate calculation

CC: libav-stable@libav.org
Bug-Id: 981
Found-By: Agostino Sarubbo
(cherry picked from commit 58405de0951a843765625159402870c1eea3c3b1)
Signed-off-by: Sean McGovern <gseanmcg@gmail.com>
libavcodec/mpegvideo_parser.c