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)
committerReinhard Tartler <siretart@tauware.de>
Sun, 3 Jul 2011 17:49:53 +0000 (19:49 +0200)
The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ccfa626db863b6019fd4c316d19d8f7018543bed)

libavcodec/avcodec.h

index 835279e..9a3076a 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);