Mercurial > libavcodec.hg
comparison mpegaudiodec.c @ 6350:8e63d869a904 libavcodec
typo fix: inited --> initialized
author | diego |
---|---|
date | Wed, 13 Feb 2008 09:26:10 +0000 |
parents | dfdff1ca78a7 |
children | 771eb7ea8b3f |
comparison
equal
deleted
inserted
replaced
6349:aed237dd11d8 | 6350:8e63d869a904 |
---|---|
2522 avctx->channels = mp3Channels[s->chan_cfg]; | 2522 avctx->channels = mp3Channels[s->chan_cfg]; |
2523 | 2523 |
2524 /* Init the first mp3 decoder in standard way, so that all tables get builded | 2524 /* Init the first mp3 decoder in standard way, so that all tables get builded |
2525 * We replace avctx->priv_data with the context of the first decoder so that | 2525 * We replace avctx->priv_data with the context of the first decoder so that |
2526 * decode_init() does not have to be changed. | 2526 * decode_init() does not have to be changed. |
2527 * Other decoders will be inited here copying data from the first context | 2527 * Other decoders will be initialized here copying data from the first context |
2528 */ | 2528 */ |
2529 // Allocate zeroed memory for the first decoder context | 2529 // Allocate zeroed memory for the first decoder context |
2530 s->mp3decctx[0] = av_mallocz(sizeof(MPADecodeContext)); | 2530 s->mp3decctx[0] = av_mallocz(sizeof(MPADecodeContext)); |
2531 // Put decoder context in place to make init_decode() happy | 2531 // Put decoder context in place to make init_decode() happy |
2532 avctx->priv_data = s->mp3decctx[0]; | 2532 avctx->priv_data = s->mp3decctx[0]; |