diff wmaenc.c @ 4600:6ac364a4ce2b libavcodec

Supply context to tprintf
author mbardiaux
date Tue, 27 Feb 2007 09:39:04 +0000
parents e78c415815f3
children 7b9ce6f729ae
line wrap: on
line diff
--- a/wmaenc.c	Tue Feb 27 06:30:40 2007 +0000
+++ b/wmaenc.c	Tue Feb 27 09:39:04 2007 +0000
@@ -31,6 +31,8 @@
     int i, flags1, flags2;
     uint8_t *extradata;
 
+    s->avctx = avctx;
+
     if(avctx->channels > MAX_CHANNELS)
         return -1;