Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;