[FFmpeg-cvslog] r17968 - in trunk/libavformat: swf.h swfdec.c

bcoudurier subversion
Sat Mar 14 23:49:01 CET 2009


Author: bcoudurier
Date: Sat Mar 14 23:49:01 2009
New Revision: 17968

Log:
remove unused fields in swf context

Modified:
   trunk/libavformat/swf.h
   trunk/libavformat/swfdec.c

Modified: trunk/libavformat/swf.h
==============================================================================
--- trunk/libavformat/swf.h	Sat Mar 14 23:43:28 2009	(r17967)
+++ trunk/libavformat/swf.h	Sat Mar 14 23:49:01 2009	(r17968)
@@ -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;

Modified: trunk/libavformat/swfdec.c
==============================================================================
--- trunk/libavformat/swfdec.c	Sat Mar 14 23:43:28 2009	(r17967)
+++ trunk/libavformat/swfdec.c	Sat Mar 14 23:49:01 2009	(r17968)
@@ -130,7 +130,6 @@ static int swf_read_packet(AVFormatConte
             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);




More information about the ffmpeg-cvslog mailing list