1. 11 Nov, 2008 1 commit
    • Max Kellermann's avatar
      decoder: return void from decode() methods · 9eed4191
      Max Kellermann authored
      The stream_decode() and file_decode() methods returned a boolean,
      indicating whether they were able to decode the song.  This is
      redundant, since we already know that: if decoder_initialized() has
      been called (and dc.state==DECODE), the plugin succeeded.  Change both
      methods to return void.
      9eed4191
  2. 04 Nov, 2008 9 commits
  3. 02 Nov, 2008 1 commit
  4. 01 Nov, 2008 2 commits
  5. 31 Oct, 2008 1 commit
  6. 30 Oct, 2008 1 commit
  7. 29 Oct, 2008 2 commits
  8. 26 Oct, 2008 4 commits
  9. 25 Oct, 2008 1 commit
    • Max Kellermann's avatar
      removed internal copy of libmp4ff · 1110a6d4
      Max Kellermann authored
      MPD shouldn't integrate sources of other libraries.  Since libmp4ff is
      part of libfaad, we should remove the old copy from src/mp4ff and link
      with the current version from libfaad instead.
      1110a6d4
  10. 17 Oct, 2008 2 commits
  11. 10 Oct, 2008 1 commit
  12. 08 Oct, 2008 2 commits
  13. 29 Sep, 2008 2 commits
    • Max Kellermann's avatar
      use C99 struct initializers · de7cda1d
      Max Kellermann authored
      The old struct initializers are error prone and don't allow moving
      elements around.  Since we are going to overhaul some of the APIs
      soon, it's easier to have all implementations use C99 initializers.
      de7cda1d
    • Eric Wong's avatar
      Switch to C99 types (retaining compat with old compilers) · 0352766d
      Eric Wong authored
      Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the
      mind needs to retrain itself to skip over the first 4 tokens of
      a type to get to its meaning.  So avoid having extra characters
      on my terminal to make it easier to follow code at 2:30 am in
      the morning.
      
      Please report any new issues you may come across on Free
      toolchains.  I realize how difficult it can be to build/maintain
      cross-compiling toolchains and I have no intention of forcing
      people to upgrade their toolchains to build mpd.
      
      Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
      0352766d
  14. 12 Sep, 2008 1 commit
    • Terry's avatar
      mp4: fix potential integer overflow bug in the mp4_decode() function · 79a14c9a
      Terry authored
      A crafted mp4 file could cause an integer overflow in mp4_decode
      function in src/inputPlugins/mp4_plugin.c.  mp4ff_num_samples()
      function returns some tainted value. sizeof(float) * numSamples is an
      integer overflow operation if numSamples is too huge, so xmalloc will
      allocate a small memory region.  I constructe a mp4 file, and use
      faad2 to open the file. mp4ff_num_samples() returns -1. So I think mpd
      bears from the same problem.
      79a14c9a
  15. 07 Sep, 2008 1 commit
  16. 29 Aug, 2008 2 commits
  17. 26 Aug, 2008 7 commits