Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
94ad23ae
Commit
94ad23ae
authored
Apr 11, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* make the flac decoder errors less annoying. some are warns, some are err's.
parent
e98a1ade
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/codec/flac.c
modules/codec/flac.c
+10
-10
No files found.
modules/codec/flac.c
View file @
94ad23ae
...
...
@@ -650,8 +650,8 @@ static void DecoderErrorCallback( const FLAC__StreamDecoder *decoder,
switch
(
status
)
{
case
FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
:
msg_
Err
(
p_dec
,
"an error in the stream caused the decoder to "
"lose synchronization."
);
msg_
Warn
(
p_dec
,
"an error in the stream caused the decoder to "
"lo
o
se synchronization."
);
break
;
case
FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER
:
msg_Err
(
p_dec
,
"the decoder encountered a corrupted frame header."
);
...
...
@@ -705,28 +705,28 @@ static void decoder_state_error( decoder_t *p_dec,
switch
(
state
)
{
case
FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
:
msg_
Err
(
p_dec
,
"the decoder is ready to search for metadata."
);
msg_
Dbg
(
p_dec
,
"the decoder is ready to search for metadata."
);
break
;
case
FLAC__STREAM_DECODER_READ_METADATA
:
msg_
Err
(
p_dec
,
"the decoder is ready to or is in the process of "
msg_
Dbg
(
p_dec
,
"the decoder is ready to or is in the process of "
"reading metadata."
);
break
;
case
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC
:
msg_
Err
(
p_dec
,
"the decoder is ready to or is in the process of "
msg_
Dbg
(
p_dec
,
"the decoder is ready to or is in the process of "
"searching for the frame sync code."
);
break
;
case
FLAC__STREAM_DECODER_READ_FRAME
:
msg_
Err
(
p_dec
,
"the decoder is ready to or is in the process of "
msg_
Dbg
(
p_dec
,
"the decoder is ready to or is in the process of "
"reading a frame."
);
break
;
case
FLAC__STREAM_DECODER_END_OF_STREAM
:
msg_
Err
(
p_dec
,
"the decoder has reached the end of the stream."
);
msg_
Dbg
(
p_dec
,
"the decoder has reached the end of the stream."
);
break
;
case
FLAC__STREAM_DECODER_ABORTED
:
msg_
Err
(
p_dec
,
"the decoder was aborted by the read callback."
);
msg_
Warn
(
p_dec
,
"the decoder was aborted by the read callback."
);
break
;
case
FLAC__STREAM_DECODER_UNPARSEABLE_STREAM
:
msg_
Err
(
p_dec
,
"the decoder encountered reserved fields in use "
msg_
Warn
(
p_dec
,
"the decoder encountered reserved fields in use "
"in the stream."
);
break
;
case
FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR
:
...
...
@@ -745,7 +745,7 @@ static void decoder_state_error( decoder_t *p_dec,
msg_Err
(
p_dec
,
"decoder in uninitialized state."
);
break
;
default:
msg_
Err
(
p_dec
,
"unknown error"
);
msg_
Warn
(
p_dec
,
"unknown error"
);
}
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment