Mercurial > libavcodec.hg
comparison wmaenc.c @ 4600:6ac364a4ce2b libavcodec
Supply context to tprintf
author | mbardiaux |
---|---|
date | Tue, 27 Feb 2007 09:39:04 +0000 |
parents | e78c415815f3 |
children | 7b9ce6f729ae |
comparison
equal
deleted
inserted
replaced
4599:2cd245d65761 | 4600:6ac364a4ce2b |
---|---|
28 | 28 |
29 static int encode_init(AVCodecContext * avctx){ | 29 static int encode_init(AVCodecContext * avctx){ |
30 WMADecodeContext *s = avctx->priv_data; | 30 WMADecodeContext *s = avctx->priv_data; |
31 int i, flags1, flags2; | 31 int i, flags1, flags2; |
32 uint8_t *extradata; | 32 uint8_t *extradata; |
33 | |
34 s->avctx = avctx; | |
33 | 35 |
34 if(avctx->channels > MAX_CHANNELS) | 36 if(avctx->channels > MAX_CHANNELS) |
35 return -1; | 37 return -1; |
36 | 38 |
37 /* extract flag infos */ | 39 /* extract flag infos */ |