Mercurial > libavcodec.hg
diff nellymoserenc.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 | fdafbcef52f5 |
| children | d6ee9556010d |
line wrap: on
line diff
--- a/nellymoserenc.c Sat Jul 24 04:23:26 2010 +0000 +++ b/nellymoserenc.c Sat Jul 24 13:59:49 2010 +0000 @@ -351,7 +351,7 @@ 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)
