Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
aeba0583
Commit
aeba0583
authored
Aug 16, 2011
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: warn when a parser is needed and not found.
parent
355ac7ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
utils.c
libavformat/utils.c
+3
-0
No files found.
libavformat/utils.c
View file @
aeba0583
...
...
@@ -1246,6 +1246,9 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
if
(
st
->
need_parsing
&&
!
st
->
parser
&&
!
(
s
->
flags
&
AVFMT_FLAG_NOPARSE
))
{
st
->
parser
=
av_parser_init
(
st
->
codec
->
codec_id
);
if
(
!
st
->
parser
)
{
av_log
(
s
,
AV_LOG_WARNING
,
"parser not found for codec "
"%s, packets or times may be invalid.
\n
"
,
avcodec_get_name
(
st
->
codec
->
codec_id
));
/* no parser available: just output the raw packets */
st
->
need_parsing
=
AVSTREAM_PARSE_NONE
;
}
else
if
(
st
->
need_parsing
==
AVSTREAM_PARSE_HEADERS
){
...
...
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