[FFmpeg-cvslog] atrac3: remove unused ATRAC3Context field, bit_rate

Justin Ruggles git at videolan.org
Tue Oct 23 12:58:36 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Oct 18 22:51:41 2012 -0400| [7e76f270819e5c5a11372bc0e6368b542586506c] | committer: Justin Ruggles

atrac3: remove unused ATRAC3Context field, bit_rate

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

 libavcodec/atrac3.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 3a6d4e8..474fa76 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -90,7 +90,6 @@ typedef struct ATRAC3Context {
     //@{
     /** stream data */
     int coding_mode;
-    int bit_rate;
     int sample_rate;
 
     ChannelUnit *units;
@@ -856,7 +855,6 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
 
     /* Take data from the AVCodecContext (RM container). */
     q->sample_rate     = avctx->sample_rate;
-    q->bit_rate        = avctx->bit_rate;
 
     if (avctx->channels <= 0 || avctx->channels > 2) {
         av_log(avctx, AV_LOG_ERROR, "Channel configuration error!\n");



More information about the ffmpeg-cvslog mailing list