diff options
author | Baptiste Coudurier | 2007-03-04 22:41:06 +0000 |
---|---|---|
committer | Baptiste Coudurier | 2007-03-04 22:41:06 +0000 |
commit | 8fafc1cf36232bc81a1adfc4bb78c76703d2e680 (patch) | |
tree | 8482e4a8f8386ff46664dcc0b4e2162135f8862b /libavformat/swf.c | |
parent | 013e0a8f35b5551675a8c3b9a025ae34e2991b17 (diff) |
cleanup useless fields
Originally committed as revision 8224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/swf.c')
-rw-r--r-- | libavformat/swf.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c index 8dba80da75..a214b1c84e 100644 --- a/libavformat/swf.c +++ b/libavformat/swf.c @@ -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); |