mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
flacdec: Sample rate markers 0x01, 0x02 and 0x03 are valid
They are for 88.2kHz, 176.4kHz and 192kHz.
This commit is contained in:
parent
2e42e82037
commit
b139cad3aa
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue