[FFmpeg-cvslog] r12418 - trunk/libavcodec/ac3dec.c

jbr subversion
Mon Mar 10 22:59:30 CET 2008


Author: jbr
Date: Mon Mar 10 22:59:30 2008
New Revision: 12418

Log:
make input buffer const, as it should be. fixes a warning.

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	(original)
+++ trunk/libavcodec/ac3dec.c	Mon Mar 10 22:59:30 2008
@@ -1125,7 +1125,8 @@ static int ac3_parse_audio_block(AC3Deco
 /**
  * Decode a single AC-3 frame.
  */
-static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
+                            const uint8_t *buf, int buf_size)
 {
     AC3DecodeContext *s = avctx->priv_data;
     int16_t *out_samples = (int16_t *)data;




More information about the ffmpeg-cvslog mailing list