mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 05:40:56 +00:00
Replace puts() by dprintf where appropriate.
Originally committed as revision 11547 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b8db4e22de
commit
f9cac0a778
@ -409,18 +409,14 @@ static int mace_decode_frame(AVCodecContext *avctx,
|
|||||||
samples = (short *)data;
|
samples = (short *)data;
|
||||||
switch (avctx->codec->id) {
|
switch (avctx->codec->id) {
|
||||||
case CODEC_ID_MACE3:
|
case CODEC_ID_MACE3:
|
||||||
#ifdef DEBUG
|
dprintf(avctx, "mace_decode_frame[3]()");
|
||||||
puts("mace_decode_frame[3]()");
|
|
||||||
#endif
|
|
||||||
Exp1to3(c, buf, samples, buf_size / 2 / avctx->channels, avctx->channels, 1);
|
Exp1to3(c, buf, samples, buf_size / 2 / avctx->channels, avctx->channels, 1);
|
||||||
if (avctx->channels == 2)
|
if (avctx->channels == 2)
|
||||||
Exp1to3(c, buf, samples+1, buf_size / 2 / 2, 2, 2);
|
Exp1to3(c, buf, samples+1, buf_size / 2 / 2, 2, 2);
|
||||||
*data_size = 2 * 3 * buf_size;
|
*data_size = 2 * 3 * buf_size;
|
||||||
break;
|
break;
|
||||||
case CODEC_ID_MACE6:
|
case CODEC_ID_MACE6:
|
||||||
#ifdef DEBUG
|
dprintf(avctx, "mace_decode_frame[6]()");
|
||||||
puts("mace_decode_frame[6]()");
|
|
||||||
#endif
|
|
||||||
Exp1to6(c, buf, samples, buf_size / avctx->channels, avctx->channels, 1);
|
Exp1to6(c, buf, samples, buf_size / avctx->channels, avctx->channels, 1);
|
||||||
if (avctx->channels == 2)
|
if (avctx->channels == 2)
|
||||||
Exp1to6(c, buf, samples+1, buf_size / 2, 2, 2);
|
Exp1to6(c, buf, samples+1, buf_size / 2, 2, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user