diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-03 23:19:34 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-03 23:19:34 +0300 |
commit | ba7d6e798eb11b463852479a5e09a68926e82af6 (patch) | |
tree | 20e8a1da86432da35c75c0578b4f297ea48aa6b5 /libavformat | |
parent | caa7ad5dc68a9b287a49f1d34f557274d3feee9c (diff) |
Remove usage of deprecated libavcodec/audioconvert.h functions.
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskaenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 80bb08ef4f..1430228c00 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -26,6 +26,7 @@ #include "avc.h" #include "flacenc.h" #include "avlanguage.h" +#include "libavcore/samplefmt.h" #include "libavutil/intreadwrite.h" #include "libavutil/random_seed.h" #include "libavutil/lfg.h" @@ -540,7 +541,7 @@ static int mkv_write_tracks(AVFormatContext *s) AVMetadataTag *tag; if (!bit_depth) - bit_depth = av_get_bits_per_sample_format(codec->sample_fmt); + bit_depth = av_get_bits_per_sample_fmt(codec->sample_fmt); if (codec->codec_id == CODEC_ID_AAC) get_aac_sample_rates(s, codec, &sample_rate, &output_sample_rate); |