vqa: remove unused context fields, audio_samplerate and audio_bits
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 23 Jan 2012 18:43:54 +0000 (13:43 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 24 Jan 2012 19:08:29 +0000 (14:08 -0500)
libavformat/westwood_vqa.c

index c338d95..4d6397b 100644 (file)
 #define VQA_PREAMBLE_SIZE 8
 
 typedef struct WsVqaDemuxContext {
-    int audio_samplerate;
     int audio_channels;
-    int audio_bits;
-
     int audio_stream_index;
     int video_stream_index;
 } WsVqaDemuxContext;
@@ -158,7 +155,6 @@ static int wsvqa_read_header(AVFormatContext *s,
         }
 
         wsvqa->audio_stream_index = st->index;
-        wsvqa->audio_samplerate = st->codec->sample_rate;
         wsvqa->audio_channels = st->codec->channels;
     }