diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-05 06:56:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-05 13:49:44 +0200 |
commit | e7ba5b1de063e9b1de441b0d1c5708857f739fa5 (patch) | |
tree | 05490f4e375f626b667dfdb230d23266e39cdb0b /libavresample/avresample.h | |
parent | 30223b3bf2ab1c55499d3d52a244221d24fcc784 (diff) | |
download | ffmpeg-e7ba5b1de063e9b1de441b0d1c5708857f739fa5.tar.gz |
lavr: change the type of the data buffers to uint8_t**.
This is more consistent with what the rest of Libav does.
This breaks API.
Diffstat (limited to 'libavresample/avresample.h')
-rw-r--r-- | libavresample/avresample.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavresample/avresample.h b/libavresample/avresample.h index b93aba5d73..ea93952e2e 100644 --- a/libavresample/avresample.h +++ b/libavresample/avresample.h @@ -234,8 +234,8 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta, * not including converted samples added to the internal * output FIFO */ -int avresample_convert(AVAudioResampleContext *avr, void **output, - int out_plane_size, int out_samples, void **input, +int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, + int out_plane_size, int out_samples, uint8_t **input, int in_plane_size, int in_samples); /** @@ -287,6 +287,6 @@ int avresample_available(AVAudioResampleContext *avr); * @param nb_samples number of samples to read from the FIFO * @return the number of samples written to output */ -int avresample_read(AVAudioResampleContext *avr, void **output, int nb_samples); +int avresample_read(AVAudioResampleContext *avr, uint8_t **output, int nb_samples); #endif /* AVRESAMPLE_AVRESAMPLE_H */ |