From: <sl...@ke...> - 2010-03-26 14:07:17
|
Module: gst-plugins-good Branch: master Commit: b139cad3aa8b400d971e1bd949e428465456b5b5 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=b139cad3aa8b400d971e1bd949e428465456b5b5 Author: Sebastian Dröge <seb...@co...> Date: Fri Mar 26 14:42:06 2010 +0100 flacdec: Sample rate markers 0x01, 0x02 and 0x03 are valid They are for 88.2kHz, 176.4kHz and 192kHz. --- ext/flac/gstflacdec.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 4352d08..309854a 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -420,8 +420,7 @@ gst_flac_dec_scan_got_frame (GstFlacDec * flacdec, guint8 * data, guint size, GST_LOG_OBJECT (flacdec, "got sync, bs=%x,sr=%x,ca=%x,ss=%x,pb=%x", bs, sr, ca, ss, pb); - if (sr == 0x0F || sr == 0x01 || sr == 0x02 || sr == 0x03 || - ca >= 0x0B || ss == 0x03 || ss == 0x07) { + if (sr == 0x0F || ca >= 0x0B || ss == 0x03 || ss == 0x07) { return FALSE; } |