diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-02 11:14:24 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-06 10:12:46 +0200 |
commit | 0bc2cca12f671010eac171bc22049320a7cd61a3 (patch) | |
tree | be6c39d00b05ea634b8fe30dcbf38db14b7a11ba /libavutil/samplefmt.h | |
parent | e1c74148128ebed7c7bc9d36c776f24898267174 (diff) | |
download | ffmpeg-0bc2cca12f671010eac171bc22049320a7cd61a3.tar.gz |
samplefmt: switch nb_channels/nb_samples params order in av_samples_alloc()
This is consistent with the order of parameters in
av_samples_fill_arrays().
Diffstat (limited to 'libavutil/samplefmt.h')
-rw-r--r-- | libavutil/samplefmt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h index a091721d96..30da046628 100644 --- a/libavutil/samplefmt.h +++ b/libavutil/samplefmt.h @@ -101,6 +101,7 @@ int av_samples_fill_arrays(uint8_t *pointers[8], int linesizes[8], * The allocated samples buffer has to be freed by using * av_freep(&pointers[0]). * + * @param nb_channels number of audio channels * @param nb_samples number of samples per channel * @param planar 1 if the samples layout is planar, 0 if packed, * @param align the value to use for buffer size alignment @@ -109,7 +110,7 @@ int av_samples_fill_arrays(uint8_t *pointers[8], int linesizes[8], * @see av_samples_fill_arrays() */ int av_samples_alloc(uint8_t *pointers[8], int linesizes[8], - int nb_samples, int nb_channels, + int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int planar, int align); |