diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-08-01 04:18:41 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-08-01 04:18:41 +0000 |
commit | 5aca21a502839e2cfd30f0cfb186badc302a7eb5 (patch) | |
tree | 9e8b25b4b2c648a85dedcfe69c1bc7100564b4f9 /src/inputPlugins | |
parent | 9ccf40b24293198c8091ca5dc269006776b080bc (diff) | |
download | mpd-5aca21a502839e2cfd30f0cfb186badc302a7eb5.tar.gz mpd-5aca21a502839e2cfd30f0cfb186badc302a7eb5.tar.xz mpd-5aca21a502839e2cfd30f0cfb186badc302a7eb5.zip |
Several fixes uncovered with -pedantic
playerData.c:
proper error checking
directory.c:
properly check myFgets() for errors
(it returns NULL on error)
inputPlugins/mp3_plugin.c
get rid of commas at the end of enums
interface.c:
we weren't using long long, so strtoll isn't needed
get rid of void-pointer arithmetic
sllist.c:
get rid of void-pointer arithmetic
compress.c:
get rid of C++ comments, some compilers don't accept them
Note that I personally like void pointer arithmetic, but some
ancient compilers don't support them :(
git-svn-id: https://svn.musicpd.org/mpd/trunk@4510 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index c016a9ad6..29a0c43d9 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -451,7 +451,7 @@ static int decodeNextFrame(mp3DecodeData * data) enum xing_magic { XING_MAGIC_XING, /* VBR */ - XING_MAGIC_INFO, /* CBR */ + XING_MAGIC_INFO /* CBR */ }; struct xing { @@ -467,7 +467,7 @@ enum { XING_FRAMES = 0x00000001L, XING_BYTES = 0x00000002L, XING_TOC = 0x00000004L, - XING_SCALE = 0x00000008L, + XING_SCALE = 0x00000008L }; struct lame { |