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
92fa1d92
Commit
92fa1d92
authored
Nov 27, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mov: change conjugation for "Duplicate"
parent
5ab882d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mov.c
libavformat/mov.c
+7
-7
No files found.
libavformat/mov.c
View file @
92fa1d92
...
...
@@ -1274,7 +1274,7 @@ static int mov_read_stco(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
0
;
if
(
sc
->
chunk_offsets
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STCO atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STCO atom
\n
"
);
av_free
(
sc
->
chunk_offsets
);
sc
->
chunk_count
=
0
;
sc
->
chunk_offsets
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
chunk_offsets
));
...
...
@@ -1872,7 +1872,7 @@ static int mov_read_stsc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if
(
!
entries
)
return
0
;
if
(
sc
->
stsc_data
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STSC atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STSC atom
\n
"
);
av_free
(
sc
->
stsc_data
);
sc
->
stsc_count
=
0
;
sc
->
stsc_data
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
stsc_data
));
...
...
@@ -1908,7 +1908,7 @@ static int mov_read_stps(MOVContext *c, AVIOContext *pb, MOVAtom atom)
entries
=
avio_rb32
(
pb
);
if
(
sc
->
stps_data
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STPS atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STPS atom
\n
"
);
av_free
(
sc
->
stps_data
);
sc
->
stps_count
=
0
;
sc
->
stps_data
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
stps_data
));
...
...
@@ -1954,7 +1954,7 @@ static int mov_read_stss(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
0
;
}
if
(
sc
->
keyframes
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STSS atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STSS atom
\n
"
);
av_free
(
sc
->
keyframes
);
sc
->
keyframe_count
=
0
;
sc
->
keyframes
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
keyframes
));
...
...
@@ -2019,7 +2019,7 @@ static int mov_read_stsz(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if
(
entries
>=
(
UINT_MAX
-
4
)
/
field_size
)
return
AVERROR_INVALIDDATA
;
if
(
sc
->
sample_sizes
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STSZ atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STSZ atom
\n
"
);
av_free
(
sc
->
sample_sizes
);
sc
->
sample_count
=
0
;
sc
->
sample_sizes
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
sample_sizes
));
...
...
@@ -2077,7 +2077,7 @@ static int mov_read_stts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
c
->
fc
->
nb_streams
-
1
,
entries
);
if
(
sc
->
stts_data
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate STTS atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
STTS atom
\n
"
);
av_free
(
sc
->
stts_data
);
sc
->
stts_count
=
0
;
sc
->
stts_data
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
stts_data
));
...
...
@@ -2220,7 +2220,7 @@ static int mov_read_sbgp(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if
(
!
entries
)
return
0
;
if
(
sc
->
rap_group
)
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate SBGP atom
\n
"
);
av_log
(
c
->
fc
,
AV_LOG_WARNING
,
"Duplicate
d
SBGP atom
\n
"
);
av_free
(
sc
->
rap_group
);
sc
->
rap_group_count
=
0
;
sc
->
rap_group
=
av_malloc_array
(
entries
,
sizeof
(
*
sc
->
rap_group
));
...
...
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