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
17871a02
Commit
17871a02
authored
Feb 25, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation
Originally committed as revision 12207 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b014dd76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mov.c
libavformat/mov.c
+10
-10
No files found.
libavformat/mov.c
View file @
17871a02
...
...
@@ -294,12 +294,12 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st
->
codec
->
extradata
=
av_mallocz
(
len
+
FF_INPUT_BUFFER_PADDING_SIZE
);
if
(
!
st
->
codec
->
extradata
)
return
AVERROR
(
ENOMEM
);
get_buffer
(
pb
,
st
->
codec
->
extradata
,
len
);
st
->
codec
->
extradata_size
=
len
;
/* from mplayer */
if
((
*
st
->
codec
->
extradata
>>
3
)
==
29
)
{
st
->
codec
->
codec_id
=
CODEC_ID_MP3ON4
;
}
get_buffer
(
pb
,
st
->
codec
->
extradata
,
len
);
st
->
codec
->
extradata_size
=
len
;
/* from mplayer */
if
((
*
st
->
codec
->
extradata
>>
3
)
==
29
)
{
st
->
codec
->
codec_id
=
CODEC_ID_MP3ON4
;
}
}
}
return
0
;
...
...
@@ -423,10 +423,10 @@ static int mov_read_smi(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st
->
codec
->
extradata
=
av_mallocz
(
atom
.
size
+
0x5a
+
FF_INPUT_BUFFER_PADDING_SIZE
);
if
(
!
st
->
codec
->
extradata
)
return
AVERROR
(
ENOMEM
);
st
->
codec
->
extradata_size
=
0x5a
+
atom
.
size
;
memcpy
(
st
->
codec
->
extradata
,
"SVQ3"
,
4
);
// fake
get_buffer
(
pb
,
st
->
codec
->
extradata
+
0x5a
,
atom
.
size
);
dprintf
(
c
->
fc
,
"Reading SMI %"
PRId64
" %s
\n
"
,
atom
.
size
,
st
->
codec
->
extradata
+
0x5a
);
st
->
codec
->
extradata_size
=
0x5a
+
atom
.
size
;
memcpy
(
st
->
codec
->
extradata
,
"SVQ3"
,
4
);
// fake
get_buffer
(
pb
,
st
->
codec
->
extradata
+
0x5a
,
atom
.
size
);
dprintf
(
c
->
fc
,
"Reading SMI %"
PRId64
" %s
\n
"
,
atom
.
size
,
st
->
codec
->
extradata
+
0x5a
);
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