Mercurial > libavcodec.hg
comparison pnm.c @ 6750:c93570aeb3eb libavcodec
Remove unnecessary parentheses from return calls.
author | diego |
---|---|
date | Tue, 06 May 2008 09:16:36 +0000 |
parents | 15577904cb95 |
children | 48d00b406a26 |
comparison
equal
deleted
inserted
replaced
6749:b1778cf7f3b1 | 6750:c93570aeb3eb |
---|---|
21 #include "avcodec.h" | 21 #include "avcodec.h" |
22 #include "pnm.h" | 22 #include "pnm.h" |
23 | 23 |
24 static inline int pnm_space(int c) | 24 static inline int pnm_space(int c) |
25 { | 25 { |
26 return (c == ' ' || c == '\n' || c == '\r' || c == '\t'); | 26 return c == ' ' || c == '\n' || c == '\r' || c == '\t'; |
27 } | 27 } |
28 | 28 |
29 static void pnm_get(PNMContext *sc, char *str, int buf_size) | 29 static void pnm_get(PNMContext *sc, char *str, int buf_size) |
30 { | 30 { |
31 char *s; | 31 char *s; |