OSDN Git Service

avresample: Mark avresample_buffer() as pointer to const
authorKip Warner <kip@thevertigo.com>
Thu, 10 Dec 2015 23:52:50 +0000 (15:52 -0800)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 14 Dec 2015 14:16:33 +0000 (15:16 +0100)
commitcc4c24208159200b7aff5b5c313903c7f23fa345
treeafd5f78231b1b8ba129d6f15ebd2af3ae37cff5b
parent5bc223b15d064e328ff90b0241fa1191f1d2786d
avresample: Mark avresample_buffer() as pointer to const

That buffer is read only and marking it accordingly let
the user passing a constant buffer to it without having
a const-correctness warning.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavresample/audio_data.c
libavresample/audio_data.h
libavresample/avresample.h
libavresample/utils.c