aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/samplefmt.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-14 21:14:00 -0300
committerJames Almer <jamrial@gmail.com>2014-10-05 17:09:49 -0300
commit1abb77285cff29eb00b766bdaa68fb4b757455aa (patch)
tree80e8e176753982a757c75a0db997347b1319994b /libavutil/samplefmt.c
parent42111bb960b5c2289a4feb4aa8ab1ef45a02b2fc (diff)
downloadffmpeg-1abb77285cff29eb00b766bdaa68fb4b757455aa.tar.gz
avutil: remove obsolete FF_API_GET_BITS_PER_SAMPLE_FMT cruft
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/samplefmt.c')
-rw-r--r--libavutil/samplefmt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index a1986980f0..3d415a183f 100644
--- a/libavutil/samplefmt.c
+++ b/libavutil/samplefmt.c
@@ -107,14 +107,6 @@ int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt)
0 : sample_fmt_info[sample_fmt].bits >> 3;
}
-#if FF_API_GET_BITS_PER_SAMPLE_FMT
-int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt)
-{
- return sample_fmt < 0 || sample_fmt >= AV_SAMPLE_FMT_NB ?
- 0 : sample_fmt_info[sample_fmt].bits;
-}
-#endif
-
int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt)
{
if (sample_fmt < 0 || sample_fmt >= AV_SAMPLE_FMT_NB)