changeset 1855:908630dcc162 libavformat

cleanup useless fields
author bcoudurier
date Sun, 04 Mar 2007 22:41:06 +0000
parents 0432f6b969b0
children 99d50be70d9a
files swf.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/swf.c	Sun Mar 04 22:30:25 2007 +0000
+++ b/swf.c	Sun Mar 04 22:41:06 2007 +0000
@@ -65,7 +65,6 @@
 
     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 @@
 
     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 @@
     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 @@
 
             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);