suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 2 Jul 2011 11:22:35 +0000 (13:22 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 2 Jul 2011 15:33:52 +0000 (08:33 -0700)
The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/avcodec.h

index 45785e4..fbd7039 100644 (file)
@@ -3847,7 +3847,7 @@ int av_get_bits_per_sample(enum CodecID codec_id);
 
 #if FF_API_OLD_SAMPLE_FMT
 /**
- * @deprecated Use av_get_bits_per_sample_fmt() instead.
+ * @deprecated Use av_get_bytes_per_sample() instead.
  */
 attribute_deprecated
 int av_get_bits_per_sample_format(enum AVSampleFormat sample_fmt);