diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-03 20:19:34 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-03 20:19:34 +0000 |
commit | ba7d6e798eb11b463852479a5e09a68926e82af6 (patch) | |
tree | 20e8a1da86432da35c75c0578b4f297ea48aa6b5 /libavfilter/defaults.c | |
parent | caa7ad5dc68a9b287a49f1d34f557274d3feee9c (diff) | |
download | ffmpeg-ba7d6e798eb11b463852479a5e09a68926e82af6.tar.gz |
Remove usage of deprecated libavcodec/audioconvert.h functions.
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 1d748c2855..5462b1a34a 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -20,6 +20,7 @@ */ #include "libavcore/imgutils.h" +#include "libavcore/samplefmt.h" #include "libavcodec/audioconvert.h" #include "avfilter.h" @@ -109,7 +110,7 @@ AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int per samples->refcount = 1; samples->free = avfilter_default_free_buffer; - sample_size = av_get_bits_per_sample_format(sample_fmt) >>3; + sample_size = av_get_bits_per_sample_fmt(sample_fmt) >>3; chans_nb = avcodec_channel_layout_num_channels(channel_layout); per_channel_size = size/chans_nb; |