ffmpeg: don't divide by 0 when checking the framerates
authorStefan Kost <ensonic@users.sf.net>
Tue, 8 Feb 2011 10:17:53 +0000 (12:17 +0200)
committerStefan Kost <ensonic@users.sf.net>
Fri, 8 Apr 2011 08:42:33 +0000 (11:42 +0300)
commitdd7b219c4223a317516ed8d597c1ad56b52a8b68
tree65719c2811d8c2c928b14e9fd3fb77e55510df47
parent6444bd2557139b80b6b9ca4e0b4856fd996b3ba1
ffmpeg: don't divide by 0 when checking the framerates

Check for denom==0 first and set it to on in that case.
ext/ffmpeg/gstffmpegcodecmap.c