Clarify output of av_get_bits_per_pixel

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Kieran Kunhya 2013-05-14 14:23:40 -05:00 committed by Anton Khirnov
parent 7cbc4cb442
commit ede75ebc9b
1 changed files with 2 additions and 1 deletions

View File

@ -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