mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
flacparse: fix (multiple channel) frame parsing
This commit is contained in:
parent
79acb0b4cc
commit
9009899176
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