Mercurial > libavcodec.hg
diff pcm.c @ 2967:ef2149182f1c libavcodec
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | 87c11495e393 |
children | bfabfdf9ce55 |
line wrap: on
line diff
--- a/pcm.c Sat Dec 17 11:31:56 2005 +0000 +++ b/pcm.c Sat Dec 17 18:14:38 2005 +0000 @@ -16,12 +16,12 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - + /** * @file pcm.c * PCM codecs */ - + #include "avcodec.h" #include "bitstream.h" // for ff_reverse @@ -78,9 +78,9 @@ static uint8_t *linear_to_ulaw = NULL; static int linear_to_ulaw_ref = 0; -static void build_xlaw_table(uint8_t *linear_to_xlaw, +static void build_xlaw_table(uint8_t *linear_to_xlaw, int (*xlaw2linear)(unsigned char), - int mask) + int mask) { int i, j, v, v1, v2; @@ -127,7 +127,7 @@ default: break; } - + switch(avctx->codec->id) { case CODEC_ID_PCM_S32LE: case CODEC_ID_PCM_S32BE: @@ -160,7 +160,7 @@ avctx->coded_frame= avcodec_alloc_frame(); avctx->coded_frame->key_frame= 1; - + return 0; }