summaryrefslogtreecommitdiff
path: root/libavcodec/wmaenc.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@mediaxim.be>2007-02-27 09:39:04 +0000
committerMichel Bardiaux <mbardiaux@mediaxim.be>2007-02-27 09:39:04 +0000
commita9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af (patch)
treebcdd4339c89f27f9d948a299c11234cd37dd29f1 /libavcodec/wmaenc.c
parent01ca9ac3346ced92d6cb4d9fe06233a305424510 (diff)
Supply context to tprintf
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmaenc.c')
-rw-r--r--libavcodec/wmaenc.c2
1 files changed, 2 insertions, 0 deletions
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;