avformat/gdv: Check fps
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 4 Mar 2019 23:48:18 +0000 (00:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Mar 2019 15:53:57 +0000 (16:53 +0100)
commit5d208aac52538e67d76c3fdd173e24ada876ca47
tree6c2b17d3e1c154337634140d704a9c3c52d6af1a
parent83bfd4f3b5b649fc84066495a2886bc819763fd1
avformat/gdv: Check fps

Fixes: Division by 0
Fixes: ffmpeg_zero_division.bin

Found-by: Anatoly Trosinenko <anatoly.trosinenko@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 38381400fca45d1ae6e7604335b507b7dc70a903)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/gdv.c