mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
flacparse: fix (multiple channel) frame parsing
This commit is contained in:
parent
a18863c8ec
commit
84e0aae90c
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ gst_flac_parse_get_frame_size (GstFlacParse * flacparse, GstBuffer * buffer,
|
|||
goto error;
|
||||
else
|
||||
flacparse->channels = tmp + 1;
|
||||
} else if (tmp <= 10 && flacparse->channels != 2) {
|
||||
} else if (tmp <= 10) {
|
||||
if (flacparse->channels && 2 != flacparse->channels)
|
||||
goto error;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue