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
2ab573cd
Commit
2ab573cd
authored
Jan 14, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
priv_data is allocated internally
Originally committed as revision 7459 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a0dc1ccd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
swf.c
libavformat/swf.c
+1
-6
No files found.
libavformat/swf.c
View file @
2ab573cd
...
...
@@ -739,18 +739,13 @@ static int swf_probe(AVProbeData *p)
static
int
swf_read_header
(
AVFormatContext
*
s
,
AVFormatParameters
*
ap
)
{
SWFContext
*
swf
=
0
;
SWFContext
*
swf
=
s
->
priv_data
;
ByteIOContext
*
pb
=
&
s
->
pb
;
int
nbits
,
len
,
frame_rate
,
tag
,
v
;
offset_t
firstTagOff
;
AVStream
*
ast
=
0
;
AVStream
*
vst
=
0
;
swf
=
av_malloc
(
sizeof
(
SWFContext
));
if
(
!
swf
)
return
-
1
;
s
->
priv_data
=
swf
;
tag
=
get_be32
(
pb
)
&
0xffffff00
;
if
(
tag
==
MKBETAG
(
'C'
,
'W'
,
'S'
,
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