aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pixdesc.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-18 00:07:20 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-18 00:07:20 +0000
commitb8873c2a8f8cf1e18f8abfc20dd4e6b039e683ef (patch)
treeee1bb54433b32aeafac4ba8f9bb622be6c1b31af /libavutil/pixdesc.h
parent1f20782c0446ed373d6f915a263756916303cbb4 (diff)
downloadffmpeg-b8873c2a8f8cf1e18f8abfc20dd4e6b039e683ef.tar.gz
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
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r--libavutil/pixdesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index fd1428fd81..207bf00f27 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -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.