Commit 7e76f270 authored by Justin Ruggles's avatar Justin Ruggles

atrac3: remove unused ATRAC3Context field, bit_rate

parent a2664c91
...@@ -90,7 +90,6 @@ typedef struct ATRAC3Context { ...@@ -90,7 +90,6 @@ typedef struct ATRAC3Context {
//@{ //@{
/** stream data */ /** stream data */
int coding_mode; int coding_mode;
int bit_rate;
int sample_rate; int sample_rate;
ChannelUnit *units; ChannelUnit *units;
...@@ -856,7 +855,6 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) ...@@ -856,7 +855,6 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
/* Take data from the AVCodecContext (RM container). */ /* Take data from the AVCodecContext (RM container). */
q->sample_rate = avctx->sample_rate; q->sample_rate = avctx->sample_rate;
q->bit_rate = avctx->bit_rate;
if (avctx->channels <= 0 || avctx->channels > 2) { if (avctx->channels <= 0 || avctx->channels > 2) {
av_log(avctx, AV_LOG_ERROR, "Channel configuration error!\n"); av_log(avctx, AV_LOG_ERROR, "Channel configuration error!\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment