diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-18 23:34:40 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-22 10:10:08 -0400 |
commit | 808686fc1ea66c33c585dbc5d891bacbd983a27d (patch) | |
tree | f7980c1dc2ffabed1e5c451c3f2e798d19f320d9 /libavcodec/atrac3.c | |
parent | 89a6c32bc1bc32a50c8d09e39389d1e1556b7a76 (diff) | |
download | ffmpeg-808686fc1ea66c33c585dbc5d891bacbd983a27d.tar.gz |
atrac3: remove unused ATRAC3Context field, sample_rate
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r-- | libavcodec/atrac3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 0046c72e03..66c672a519 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -90,7 +90,6 @@ typedef struct ATRAC3Context { //@{ /** stream data */ int coding_mode; - int sample_rate; ChannelUnit *units; //@} @@ -869,9 +868,6 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) const uint8_t *edata_ptr = avctx->extradata; ATRAC3Context *q = avctx->priv_data; - /* Take data from the AVCodecContext (RM container). */ - q->sample_rate = avctx->sample_rate; - if (avctx->channels <= 0 || avctx->channels > 2) { av_log(avctx, AV_LOG_ERROR, "Channel configuration error!\n"); return AVERROR(EINVAL); |