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
8fafc1cf
Commit
8fafc1cf
authored
Mar 04, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup useless fields
Originally committed as revision 8224 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
013e0a8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
swf.c
libavformat/swf.c
+0
-8
No files found.
libavformat/swf.c
View file @
8fafc1cf
...
...
@@ -65,7 +65,6 @@ typedef struct {
int
samples_per_frame
;
int
sound_samples
;
int
video_samples
;
int
swf_frame_number
;
int
video_frame_number
;
int
ms_per_frame
;
...
...
@@ -73,8 +72,6 @@ typedef struct {
uint8_t
audio_fifo
[
AUDIO_FIFO_SIZE
];
int
audio_in_pos
;
int
audio_out_pos
;
int
audio_size
;
int
video_type
;
int
audio_type
;
...
...
@@ -254,10 +251,7 @@ static int swf_write_header(AVFormatContext *s)
int
i
,
width
,
height
,
rate
,
rate_base
;
swf
->
audio_in_pos
=
0
;
swf
->
audio_out_pos
=
0
;
swf
->
audio_size
=
0
;
swf
->
sound_samples
=
0
;
swf
->
video_samples
=
0
;
swf
->
swf_frame_number
=
0
;
swf
->
video_frame_number
=
0
;
...
...
@@ -506,8 +500,6 @@ static int swf_write_video(AVFormatContext *s,
swf
->
swf_frame_number
++
;
swf
->
video_samples
+=
swf
->
samples_per_frame
;
/* streaming sound always should be placed just before showframe tags */
if
(
swf
->
audio_type
&&
swf
->
audio_in_pos
)
{
put_swf_tag
(
s
,
TAG_STREAMBLOCK
|
TAG_LONG
);
...
...
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