diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-03-12 22:37:53 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-03-12 23:03:02 +0100 |
commit | 7133ab435abb3e7ae1a7e6d9570343d07d0b0d87 (patch) | |
tree | 527b560cb8d3463c5e5dfe79775ea07f8ee4c48c /libavcodec/xpmdec.c | |
parent | 6c7a0876fefdd3c919afcabf493492cb4946ca6a (diff) | |
download | ffmpeg-7133ab435abb3e7ae1a7e6d9570343d07d0b0d87.tar.gz |
avcodec/xpmdec: improve comment for one function and also fix 2 identation issues
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/xpmdec.c')
-rw-r--r-- | libavcodec/xpmdec.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/xpmdec.c b/libavcodec/xpmdec.c index 6cd7bde4ec..ad6de3d05c 100644 --- a/libavcodec/xpmdec.c +++ b/libavcodec/xpmdec.c @@ -28,11 +28,11 @@ typedef struct XPMContext { uint32_t *pixels; - int pixels_size; + int pixels_size; } XPMDecContext; typedef struct ColorEntry { - const char *name; ///< a string representing the name of the color + const char *name; ///< a string representing the name of the color uint32_t rgb_color; ///< RGB values for the color } ColorEntry; @@ -199,10 +199,8 @@ static unsigned convert(uint8_t x) } /* -** functions same as strcspn but ignores characters in reject if they are inside a C style comment... -** @param string, reject - same as that of strcspn -** @return length till any character in reject does not occur in string -*/ + * Function same as strcspn but ignores characters if they are inside a C style comments + */ static size_t mod_strcspn(const char *string, const char *reject) { int i, j; |