diff options
author | Peter Ross <pross@xvid.org> | 2011-02-15 11:59:45 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-15 14:20:19 +0000 |
commit | 71f88b1f3843fdb676d6f72181da0c8c460341d8 (patch) | |
tree | 2da455c77bcda85d807192fb60e1a5e7de2f4a2a | |
parent | 9806fbd5351fa84f99fa5b18fe06859acb514f34 (diff) | |
download | ffmpeg-71f88b1f3843fdb676d6f72181da0c8c460341d8.tar.gz |
binkaudio: remove unused copy of AVCodecContext*
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavcodec/binkaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index ae3db5d6c7..39517f7eb4 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -41,7 +41,6 @@ extern const uint16_t ff_wma_critical_freqs[25]; #define BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11) typedef struct { - AVCodecContext *avctx; GetBitContext gb; DSPContext dsp; FmtConvertContext fmt_conv; @@ -71,7 +70,6 @@ static av_cold int decode_init(AVCodecContext *avctx) int i; int frame_len_bits; - s->avctx = avctx; dsputil_init(&s->dsp, avctx); ff_fmt_convert_init(&s->fmt_conv, avctx); @@ -86,7 +84,7 @@ static av_cold int decode_init(AVCodecContext *avctx) s->frame_len = 1 << frame_len_bits; if (avctx->channels > MAX_CHANNELS) { - av_log(s->avctx, AV_LOG_ERROR, "too many channels: %d\n", avctx->channels); + av_log(avctx, AV_LOG_ERROR, "too many channels: %d\n", avctx->channels); return -1; } |