aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-29 10:47:32 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-29 10:48:57 +0100
commite36231969af5d0b3ddccaccc2f36715d65307d5a (patch)
treee2c2cb68cdf7263664e64f8ce46f088324e0dc2f
parent66518f6feb956407f27148dd4b35be70e58cbb52 (diff)
downloadandroid_external_ffmpeg-e36231969af5d0b3ddccaccc2f36715d65307d5a.tar.gz
android_external_ffmpeg-e36231969af5d0b3ddccaccc2f36715d65307d5a.tar.bz2
android_external_ffmpeg-e36231969af5d0b3ddccaccc2f36715d65307d5a.zip
avcodec/audioconvert: deprecate API
Note, the header was not installed so useage of this should be limited but its not 0, there are some random pieces of code using it according to google. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/audioconvert.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/audioconvert.h b/libavcodec/audioconvert.h
index 61124b3a32..7e7a1bc45f 100644
--- a/libavcodec/audioconvert.h
+++ b/libavcodec/audioconvert.h
@@ -45,14 +45,20 @@ typedef struct AVAudioConvert AVAudioConvert;
* @param[in] matrix Channel mixing matrix (of dimension in_channel*out_channels). Set to NULL to ignore.
* @param flags See AV_CPU_FLAG_xx
* @return NULL on error
+ * @deprecated See libswresample
*/
+
+attribute_deprecated
AVAudioConvert *av_audio_convert_alloc(enum AVSampleFormat out_fmt, int out_channels,
enum AVSampleFormat in_fmt, int in_channels,
const float *matrix, int flags);
/**
* Free audio sample format converter context
+ * @deprecated See libswresample
*/
+
+attribute_deprecated
void av_audio_convert_free(AVAudioConvert *ctx);
/**
@@ -62,7 +68,10 @@ void av_audio_convert_free(AVAudioConvert *ctx);
* @param[in] in array of input buffers for each channel
* @param[in] in_stride distance between consecutive input samples (measured in bytes)
* @param len length of audio frame size (measured in samples)
+ * @deprecated See libswresample
*/
+
+attribute_deprecated
int av_audio_convert(AVAudioConvert *ctx,
void * const out[6], const int out_stride[6],
const void * const in[6], const int in_stride[6], int len);