diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-07-24 13:59:49 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-07-24 13:59:49 +0000 |
commit | edac49daf5f703aa4e742ecdd747658e82d91b33 (patch) | |
tree | 25e3407964f6b8f65c1ed2a20e55c72bb7266870 /libavcodec/roqaudioenc.c | |
parent | 6f2c523c85c53cce2bda22a585b07a807255eadd (diff) | |
download | ffmpeg-edac49daf5f703aa4e742ecdd747658e82d91b33.tar.gz |
Use "const" qualifier for pointers that point to input data of
audio encoders.
This is purely for clarity/documentation purposes.
Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqaudioenc.c')
-rw-r--r-- | libavcodec/roqaudioenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index 11fd6f06cb..050c6571dd 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -108,7 +108,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, 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; |