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/nellymoserenc.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/nellymoserenc.c')
-rw-r--r-- | libavcodec/nellymoserenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index 1f9442cf9d..85e01736a2 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -351,7 +351,7 @@ static void encode_block(NellyMoserEncodeContext *s, unsigned char *output, int static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data) { NellyMoserEncodeContext *s = avctx->priv_data; - int16_t *samples = data; + const int16_t *samples = data; int i; if (s->last_frame) |