mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
This commit is contained in:
@@ -98,14 +98,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)
|
||||
|
||||
Reference in New Issue
Block a user