mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
flacparse: drop redundant return statement on _header_is_valid()
Fix the rather vague error message while at it.
This commit is contained in:
parent
276fcc5916
commit
eb47176b7c
1 changed files with 2 additions and 2 deletions
|
@ -627,8 +627,8 @@ gst_flac_parse_frame_header_is_valid (GstFlacParse * flacparse,
|
||||||
return FRAME_HEADER_VALID;
|
return FRAME_HEADER_VALID;
|
||||||
|
|
||||||
need_streaminfo:
|
need_streaminfo:
|
||||||
GST_ERROR_OBJECT (flacparse, "Need STREAMINFO");
|
GST_ERROR_OBJECT (flacparse, "Need STREAMINFO metadata. Bits per sample "
|
||||||
return FRAME_HEADER_INVALID;
|
"or sample rate not in frame header");
|
||||||
error:
|
error:
|
||||||
return FRAME_HEADER_INVALID;
|
return FRAME_HEADER_INVALID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue