changeset 4714:6e9e1f5426a5 libavformat

remove unused fields in swf context
author bcoudurier
date Sat, 14 Mar 2009 22:49:01 +0000
parents 9529cf439607
children 2b75450ca0a9
files swf.h swfdec.c
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/swf.h	Sat Mar 14 22:43:28 2009 +0000
+++ b/swf.h	Sat Mar 14 22:49:01 2009 +0000
@@ -65,7 +65,6 @@
 #include <assert.h>
 
 typedef struct {
-    int audio_stream_index;
     int64_t duration_pos;
     int64_t tag_pos;
     int64_t vframes_pos;
--- a/swfdec.c	Sat Mar 14 22:43:28 2009 +0000
+++ b/swfdec.c	Sat Mar 14 22:49:01 2009 +0000
@@ -130,7 +130,6 @@
             ast = av_new_stream(s, -1); /* -1 to avoid clash with video stream ch_id */
             if (!ast)
                 return -1;
-            swf->audio_stream_index = ast->index;
             ast->codec->channels = 1 + (v&1);
             ast->codec->codec_type = CODEC_TYPE_AUDIO;
             ast->codec->codec_id = codec_get_id(swf_audio_codec_tags, (v>>4) & 15);