Commit 7133ab43 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/xpmdec: improve comment for one function and also fix 2 identation issues

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 6c7a0876
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
typedef struct XPMContext { typedef struct XPMContext {
uint32_t *pixels; uint32_t *pixels;
int pixels_size; int pixels_size;
} XPMDecContext; } XPMDecContext;
typedef struct ColorEntry { 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 uint32_t rgb_color; ///< RGB values for the color
} ColorEntry; } ColorEntry;
...@@ -199,10 +199,8 @@ static unsigned convert(uint8_t x) ...@@ -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... * Function same as strcspn but ignores characters if they are inside a C style comments
** @param string, reject - same as that of strcspn */
** @return length till any character in reject does not occur in string
*/
static size_t mod_strcspn(const char *string, const char *reject) static size_t mod_strcspn(const char *string, const char *reject)
{ {
int i, j; int i, j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment