OSDN Git Service

avcodec/xpmdec: improve comment for one function and also fix 2 identation issues
authorPaul B Mahol <onemda@gmail.com>
Sun, 12 Mar 2017 21:37:53 +0000 (22:37 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 12 Mar 2017 22:03:02 +0000 (23:03 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/xpmdec.c

index 6cd7bde..ad6de3d 100644 (file)
 
 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;