Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name

is more clear and lexically more consistent with API and
documentation.

Originally committed as revision 20545 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2009-11-18 00:07:20 +00:00
parent 1f20782c04
commit b8873c2a8f
2 changed files with 52 additions and 52 deletions

View File

@ -55,7 +55,7 @@ typedef struct AVComponentDescriptor{
*/
typedef struct AVPixFmtDescriptor{
const char *name;
uint8_t nb_channels; ///< The number of components each pixel has, (1-4)
uint8_t nb_components; ///< The number of components each pixel has, (1-4)
/**
* Amount to shift the luma width right to find the chroma width.