# HG changeset patch # User bcoudurier # Date 1237070941 0 # Node ID 6e9e1f5426a55de29abc5a665bbeaa4a4791c6a8 # Parent 9529cf4396075e8428a637bca4bd9db3642ac7a8 remove unused fields in swf context diff -r 9529cf439607 -r 6e9e1f5426a5 swf.h --- 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 typedef struct { - int audio_stream_index; int64_t duration_pos; int64_t tag_pos; int64_t vframes_pos; diff -r 9529cf439607 -r 6e9e1f5426a5 swfdec.c --- 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);