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
15061147
Commit
15061147
authored
Jun 27, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
give context to av_log
Originally committed as revision 14012 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b6a66897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
libavformat/utils.c
+2
-2
No files found.
libavformat/utils.c
View file @
15061147
...
...
@@ -2473,11 +2473,11 @@ static int compute_pkt_fields2(AVStream *st, AVPacket *pkt){
}
if
(
st
->
cur_dts
&&
st
->
cur_dts
!=
AV_NOPTS_VALUE
&&
st
->
cur_dts
>=
pkt
->
dts
){
av_log
(
NULL
,
AV_LOG_ERROR
,
"error, non monotone timestamps %"
PRId64
" >= %"
PRId64
"
\n
"
,
st
->
cur_dts
,
pkt
->
dts
);
av_log
(
st
->
codec
,
AV_LOG_ERROR
,
"error, non monotone timestamps %"
PRId64
" >= %"
PRId64
"
\n
"
,
st
->
cur_dts
,
pkt
->
dts
);
return
-
1
;
}
if
(
pkt
->
dts
!=
AV_NOPTS_VALUE
&&
pkt
->
pts
!=
AV_NOPTS_VALUE
&&
pkt
->
pts
<
pkt
->
dts
){
av_log
(
NULL
,
AV_LOG_ERROR
,
"error, pts < dts
\n
"
);
av_log
(
st
->
codec
,
AV_LOG_ERROR
,
"error, pts < dts
\n
"
);
return
-
1
;
}
...
...
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