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/g726.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/g726.c')
-rw-r--r-- | libavcodec/g726.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 5e0051171b..6192b2b18c 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -348,7 +348,7 @@ static int g726_encode_frame(AVCodecContext *avctx, uint8_t *dst, int buf_size, void *data) { G726Context *c = avctx->priv_data; - short *samples = data; + const short *samples = data; PutBitContext pb; init_put_bits(&pb, dst, 1024*1024); |