]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
remove unused fields in swf context
authorbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 14 Mar 2009 22:49:01 +0000 (22:49 +0000)
committerbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 14 Mar 2009 22:49:01 +0000 (22:49 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17968 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/swf.h
libavformat/swfdec.c

index a4638bbfc3cdd095ce69e228d48132cb71fcf4cb..69064a281c146f20661ffb8df2e0e93b806b2799 100644 (file)
@@ -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;
index 1f010c58be38f574bca3da71e40918b3f9a3d207..27412180e9898814f7f53f50a00088b49d54a3c3 100644 (file)
@@ -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);