From a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Tue, 27 Feb 2007 09:39:04 +0000 Subject: Supply context to tprintf Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wmaenc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/wmaenc.c') diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index 5f502d269c..ce2c42320f 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -31,6 +31,8 @@ static int encode_init(AVCodecContext * avctx){ int i, flags1, flags2; uint8_t *extradata; + s->avctx = avctx; + if(avctx->channels > MAX_CHANNELS) return -1; -- cgit v1.2.3