[FFmpeg-soc] [soc]: r3499 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 21 00:17:28 CEST 2008


Author: ramiro
Date: Thu Aug 21 00:17:28 2008
New Revision: 3499

Log:
Rename a function to a more descriptive name.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 21 00:17:28 2008
@@ -228,7 +228,7 @@ static void write_restart_header(MLPEnco
  *  TODO This field is not yet fully understood. These values are just copied
  *       from some samples out in the wild.
  */
-static uint8_t code_channels3(int channels)
+static uint8_t get_channels3_code(int channels)
 {
     switch (channels) {
     case 1: return 0x1f;
@@ -365,7 +365,7 @@ static av_cold int mlp_encode_init(AVCod
      * we only accept mono and stereo. */
     ctx->mlp_channels   = avctx->channels - 1;
     ctx->mlp_channels2  = (1 << avctx->channels) - 1;
-    ctx->mlp_channels3  = code_channels3(avctx->channels);
+    ctx->mlp_channels3  = get_channels3_code(avctx->channels);
     ctx->num_substreams = 1;
 
     frame_size_size = sizeof(unsigned int)



More information about the FFmpeg-soc mailing list