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
3cd93cc7
Commit
3cd93cc7
authored
Mar 19, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "asfenc: return error on negative timestamp"
This reverts commit
d1bec33b
, it breaks FATE.
parent
35862807
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
asfenc.c
libavformat/asfenc.c
+0
-8
No files found.
libavformat/asfenc.c
View file @
3cd93cc7
...
...
@@ -774,14 +774,6 @@ static int asf_write_packet(AVFormatContext *s, AVPacket *pkt)
flags
&=
~
AV_PKT_FLAG_KEY
;
pts
=
(
pkt
->
pts
!=
AV_NOPTS_VALUE
)
?
pkt
->
pts
:
pkt
->
dts
;
if
(
pts
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Negative dts not supported stream %d, dts %"
PRId64
"
\n
"
,
pkt
->
stream_index
,
pts
);
return
AVERROR
(
ENOSYS
);
}
assert
(
pts
!=
AV_NOPTS_VALUE
);
duration
=
pts
*
10000
;
asf
->
duration
=
FFMAX
(
asf
->
duration
,
duration
+
pkt
->
duration
*
10000
);
...
...
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