diff roqaudioenc.c @ 12262:dde20597f15e libavcodec

Use "const" qualifier for pointers that point to input data of audio encoders. This is purely for clarity/documentation purposes.
author reimar
date Sat, 24 Jul 2010 13:59:49 +0000
parents 8a4984c5cacc
children
line wrap: on
line diff
--- a/roqaudioenc.c	Sat Jul 24 04:23:26 2010 +0000
+++ b/roqaudioenc.c	Sat Jul 24 13:59:49 2010 +0000
@@ -108,7 +108,7 @@
                 unsigned char *frame, int buf_size, void *data)
 {
     int i, samples, stereo, ch;
-    short *in;
+    const short *in;
     unsigned char *out;
 
     ROQDPCMContext *context = avctx->priv_data;