gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probabili...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 21 Nov 2006 09:29:56 +0000 (09:29 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 21 Nov 2006 09:29:56 +0000 (09:29 +0000)
commit67e6bb5a927391cdebf0077f984b18afb49d43c0
treecbdf5e539b0dfeeaf5a368dba7cc18f98a9ef356
parent4607e3d116b00cfa1c1baef08bfbb61a43152f11
gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probability for mp3 is smaller than the '...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Avoid integer underflow when the found probability for mp3 is
smaller than the 'penalty' we subtract if there's not a clean
mp3 header sync at offset 0.
ChangeLog
gst/typefind/gsttypefindfunctions.c