diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 12:13:58 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 12:13:58 +0300 |
commit | d1262262de8402109cd5f1d6c4971d956c99f11e (patch) | |
tree | 9d458cf4ce187b5f9d64267994945c070ab647aa /libavresample/audio_data.c | |
parent | b966a403dd80604bb7dbb9ee6ec331ade0e84953 (diff) | |
parent | cc4c24208159200b7aff5b5c313903c7f23fa345 (diff) |
Merge commit 'cc4c24208159200b7aff5b5c313903c7f23fa345'
* commit 'cc4c24208159200b7aff5b5c313903c7f23fa345':
avresample: Mark avresample_buffer() as pointer to const
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavresample/audio_data.c')
-rw-r--r-- | libavresample/audio_data.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavresample/audio_data.c b/libavresample/audio_data.c index c2f545013c..b54ead841a 100644 --- a/libavresample/audio_data.c +++ b/libavresample/audio_data.c @@ -70,9 +70,10 @@ int ff_audio_data_set_channels(AudioData *a, int channels) return 0; } -int ff_audio_data_init(AudioData *a, uint8_t **src, int plane_size, int channels, - int nb_samples, enum AVSampleFormat sample_fmt, - int read_only, const char *name) +int ff_audio_data_init(AudioData *a, uint8_t * const *src, int plane_size, + int channels, int nb_samples, + enum AVSampleFormat sample_fmt, int read_only, + const char *name) { int p; |