mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11: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;
|
||||
|
||||
need_streaminfo:
|
||||
GST_ERROR_OBJECT (flacparse, "Need STREAMINFO");
|
||||
return FRAME_HEADER_INVALID;
|
||||
GST_ERROR_OBJECT (flacparse, "Need STREAMINFO metadata. Bits per sample "
|
||||
"or sample rate not in frame header");
|
||||
error:
|
||||
return FRAME_HEADER_INVALID;
|
||||
|
||||
|
|
Loading…
Reference in a new issue