summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.h
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@ob-encoder.com>2013-05-14 14:23:40 -0500
committerAnton Khirnov <anton@khirnov.net>2013-05-15 07:45:09 +0200
commitede75ebc9b9c1a06406e7ae5cf4d38967c033c00 (patch)
tree722e8217c9fbc8f1ffc64753e7181a130ccce019 /libavutil/pixdesc.h
parent7cbc4cb4424430586ce2d5c0dba81174c6d1db01 (diff)
Clarify output of av_get_bits_per_pixel
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r--libavutil/pixdesc.h3
1 files changed, 2 insertions, 1 deletions
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