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
fffa99dd
Commit
fffa99dd
authored
Feb 13, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove now useless code
Originally committed as revision 11922 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
53152765
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
mov.c
libavformat/mov.c
+0
-12
No files found.
libavformat/mov.c
View file @
fffa99dd
...
...
@@ -75,11 +75,6 @@ typedef struct {
int64_t
size
;
/* total size (excluding the size and type fields) */
}
MOV_atom_t
;
typedef
struct
{
offset_t
offset
;
int64_t
size
;
}
MOV_mdat_t
;
struct
MOVParseTableEntry
;
typedef
struct
MOVStreamContext
{
...
...
@@ -118,8 +113,6 @@ typedef struct MOVContext {
int
found_moov
;
/* when both 'moov' and 'mdat' sections has been found */
int
found_mdat
;
/* we suppose we have enough data to read the file */
AVPaletteControl
palette_control
;
MOV_mdat_t
*
mdat_list
;
int
mdat_count
;
DVDemuxContext
*
dv_demux
;
AVFormatContext
*
dv_fctx
;
int
isom
;
/* 1 if file is ISO Media (mp4/3gp) */
...
...
@@ -317,10 +310,6 @@ static int mov_read_mdat(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
if
(
atom
.
size
==
0
)
/* wrong one (MP4) */
return
0
;
c
->
mdat_list
=
av_realloc
(
c
->
mdat_list
,
(
c
->
mdat_count
+
1
)
*
sizeof
(
*
c
->
mdat_list
));
c
->
mdat_list
[
c
->
mdat_count
].
offset
=
atom
.
offset
;
c
->
mdat_list
[
c
->
mdat_count
].
size
=
atom
.
size
;
c
->
mdat_count
++
;
c
->
found_mdat
=
1
;
if
(
c
->
found_moov
)
return
1
;
/* found both, just go */
...
...
@@ -1498,7 +1487,6 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
av_freep
(
&
sc
->
keyframes
);
av_freep
(
&
sc
->
stts_data
);
}
av_freep
(
&
mov
->
mdat_list
);
return
0
;
}
...
...
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