Module: libav
Branch: master
Commit: ede75ebc9b9c1a06406e7ae5cf4d38967c033c00

Author:    Kieran Kunhya <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Tue May 14 14:23:40 2013 -0500

Clarify output of av_get_bits_per_pixel

Signed-off-by: Anton Khirnov <[email protected]>

---

 libavutil/pixdesc.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index 312e89a..1d73e5d 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to