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
3ceeb01c
Commit
3ceeb01c
authored
Sep 29, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mov: only print multiple edit lists warning for actually unsupported cases
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
44a7a630
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mov.c
libavformat/mov.c
+4
-1
No files found.
libavformat/mov.c
View file @
3ceeb01c
...
...
@@ -2624,6 +2624,7 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
{
MOVStreamContext
*
sc
;
int
i
,
edit_count
,
version
,
edit_start_index
=
0
;
int
unsupported
=
0
;
if
(
c
->
fc
->
nb_streams
<
1
)
return
0
;
...
...
@@ -2652,9 +2653,11 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
edit_start_index
=
1
;
}
else
if
(
i
==
edit_start_index
&&
time
>=
0
)
sc
->
start_time
=
time
;
else
unsupported
=
1
;
}
if
(
edit_count
>
1
)
if
(
unsupported
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"multiple edit list entries, "
"a/v desync might occur, patch welcome
\n
"
);
...
...
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