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>
Sun, 13 Nov 2016 18:18:14 +0000 (19:18 +0100)
commit25012c56448a48487cdc9699465e640871dbcd60
tree78d9e2bd291296def65dede120cde1712c7243ac
parent03cef34aa66662e2ab3681d290e7c5a6634f4058
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>
libavformat/filmstripdec.c