qtdemux: check denominator isn't zero before scaling duration.
authorChris Bass <floobleflam@gmail.com>
Thu, 15 Aug 2013 09:59:10 +0000 (10:59 +0100)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 16 Aug 2013 08:14:30 +0000 (10:14 +0200)
commit3e9dea3f8cb9f6ee46781f3cb611a0a39d7811d3
tree01982a86a7008858da8f6ede6939dd6d326e911e
parentb1e442236f0cfc90db3e8208371977fceab2885e
qtdemux: check denominator isn't zero before scaling duration.

When gst_qtdemux_configure_stream sets fps_d, check that n_samples is
non-zero before using it as a denominator to scale the stream duration.

https://bugzilla.gnome.org/show_bug.cgi?id=706076
gst/isomp4/qtdemux.c