diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-27 09:39:04 +0000 |
commit | a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af (patch) | |
tree | bcdd4339c89f27f9d948a299c11234cd37dd29f1 /libavcodec/wmaenc.c | |
parent | 01ca9ac3346ced92d6cb4d9fe06233a305424510 (diff) | |
download | ffmpeg-a9c9a2400bd5e8bbce675f1b5f7e1c2c705ee7af.tar.gz |
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.c | 2 |
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; |