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>
Sun, 24 Mar 2019 09:38:52 +0000 (10:38 +0100)
commit2d825946a3970e566fa41829eb758f94169c4a0e
tree4f8fcf6e15c0cc14f47ae715dd42964c2a6dc663
parent66894351909ffca0bd55b4e349362741f25a0f08
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