Mercurial > libavcodec.hg
diff mpegaudiodec.c @ 8598:6550218be3b7 libavcodec
simplify: group all the AUDIO_NONSHORT parameters in the same place
author | aurel |
---|---|
date | Wed, 14 Jan 2009 21:41:05 +0000 |
parents | c5349ca95c08 |
children | 04423b2f6e0b |
line wrap: on
line diff
--- a/mpegaudiodec.c Wed Jan 14 21:34:48 2009 +0000 +++ b/mpegaudiodec.c Wed Jan 14 21:41:05 2009 +0000 @@ -316,11 +316,7 @@ s->avctx = avctx; -#if CONFIG_MPEGAUDIO_HP && CONFIG_AUDIO_NONSHORT - avctx->sample_fmt= SAMPLE_FMT_S32; -#else - avctx->sample_fmt= SAMPLE_FMT_S16; -#endif + avctx->sample_fmt= OUT_FMT; s->error_recognition= avctx->error_recognition; if(avctx->antialias_algo != FF_AA_FLOAT)