filmstripdec: correctly check image dimensions
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 13 Nov 2016 17:22:12 +0000 (18:22 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 17 Nov 2016 22:18:29 +0000 (23:18 +0100)
commitb526958ca4a1b840d1c92b653451d9c582b51a1a
treef299b80691d8588958a274a5b8363d64a151880c
parent039a3e6db89289ea8fc74db52e45597c8b2f382b
filmstripdec: correctly check image dimensions

This prevents a division by zero in read_packet.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 25012c56448a48487cdc9699465e640871dbcd60)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/filmstripdec.c