[FFmpeg-cvslog] vqa: remove unused context fields, audio_samplerate and audio_bits

Justin Ruggles git at videolan.org
Tue Jan 24 23:12:54 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jan 23 13:43:54 2012 -0500| [4340a6363e9ff75dc4e8ce14dc96671623494ed8] | committer: Justin Ruggles

vqa: remove unused context fields, audio_samplerate and audio_bits

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4340a6363e9ff75dc4e8ce14dc96671623494ed8
---

 libavformat/westwood_vqa.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/libavformat/westwood_vqa.c b/libavformat/westwood_vqa.c
index c338d95..4d6397b 100644
--- a/libavformat/westwood_vqa.c
+++ b/libavformat/westwood_vqa.c
@@ -54,10 +54,7 @@
 #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;
     }
 



More information about the ffmpeg-cvslog mailing list