summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-14 22:49:01 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-14 22:49:01 +0000
commit40a1d41fd22459290526fb38f3d327f1c167fe83 (patch)
treeb59f990982c63fd1a212b941fe28dbef5da32329
parent2261a952f9fde6a44225f683dfa1e6dd3892584b (diff)
remove unused fields in swf context
Originally committed as revision 17968 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/swf.h1
-rw-r--r--libavformat/swfdec.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/swf.h b/libavformat/swf.h
index a4638bbfc3..69064a281c 100644
--- a/libavformat/swf.h
+++ b/libavformat/swf.h
@@ -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;
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 1f010c58be..27412180e9 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -130,7 +130,6 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
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);