From ede75ebc9b9c1a06406e7ae5cf4d38967c033c00 Mon Sep 17 00:00:00 2001 From: Kieran Kunhya Date: Tue, 14 May 2013 14:23:40 -0500 Subject: Clarify output of av_get_bits_per_pixel Signed-off-by: Anton Khirnov --- libavutil/pixdesc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 312e89ac04..1d73e5db51 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -177,7 +177,8 @@ char *av_get_pix_fmt_string (char *buf, int buf_size, enum AVPixelFormat pix_fmt /** * Return the number of bits per pixel used by the pixel format - * described by pixdesc. + * described by pixdesc. Note that this is not the same as the number + * of bits per sample. * * The returned number of bits refers to the number of bits actually * used for storing the pixel information, that is padding bits are -- cgit v1.2.3