History

binkaudio: remove unused copy of AVCodecContext*

Peter Ross committed 15 years ago

Commit c4c9fb41 parent 13690151 file · +1 −3Browse files

Unified · Split

libavcodec/binkaudio.c+1−3
@@ -41,7 +41,6 @@ extern const uint16_t ff_wma_critical_freqs[25]; · 40 unmodified lines
4141 #define BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11)
4242
4343 typedef struct {
44− AVCodecContext *avctx;
4544 GetBitContext gb;
4645 DSPContext dsp;
4746 FmtConvertContext fmt_conv;
@@ -71,7 +70,6 @@ static av_cold int decode_init(AVCodecContext *avctx) · 23 unmodified lines
7170 int i;
7271 int frame_len_bits;
7372
74− s->avctx = avctx;
7573 dsputil_init(&s->dsp, avctx);
7674 ff_fmt_convert_init(&s->fmt_conv, avctx);
7775
@@ -86,7 +84,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 8 unmodified lines
8684 s->frame_len = 1 << frame_len_bits;
8785
8886 if (avctx->channels > MAX_CHANNELS) {
89− av_log(s->avctx, AV_LOG_ERROR, "too many channels: %d\n", avctx->channels);
87+ av_log(avctx, AV_LOG_ERROR, "too many channels: %d\n", avctx->channels);
9088 return -1;
9189 }
9290

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t