diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 10:13:58 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-01-02 10:13:58 +0100 |
commit | d1262262de8402109cd5f1d6c4971d956c99f11e (patch) | |
tree | 9d458cf4ce187b5f9d64267994945c070ab647aa /libavresample/audio_data.h | |
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.h')
-rw-r--r-- | libavresample/audio_data.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavresample/audio_data.h b/libavresample/audio_data.h index b50bd40600..1280307a95 100644 --- a/libavresample/audio_data.h +++ b/libavresample/audio_data.h @@ -76,9 +76,10 @@ int ff_audio_data_set_channels(AudioData *a, int channels); * @param name name for debug logging (can be NULL) * @return 0 on success, negative AVERROR value on error */ -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); /** * Allocate AudioData. |