1. 03 Feb, 2009 4 commits
    • Max Kellermann's avatar
      ffmpeg: fixed seek integer overflow · 824d299e
      Max Kellermann authored
      The "current" variable is used for calculating the seek destination,
      and was declared as "int".  With very long song files, the 32 bit
      integer can overflow.  ffmpeg expects an int64_t, which is very
      unlikely to overflow.  Switch to int64_t.
      824d299e
    • Max Kellermann's avatar
      ffmpeg: check if the time stamp is valid · f3b73b82
      Max Kellermann authored
      When ffmpeg cannot estimate the elapsed time, it sets
      AVPacket.pts=AV_NOPTS_VALUE.  Our ffmpeg decoder plugin did not check
      for that special value.
      f3b73b82
    • Max Kellermann's avatar
      ffmpeg: don't warn of empty packet output · 81b6c0d7
      Max Kellermann authored
      If avcodec_decode_audio2() returns no output for an AVPacket,
      libavcodec may buffer some data, and return a larger chunk of output
      later.  This patch disables a lot of bogus warnings.
      81b6c0d7
    • Max Kellermann's avatar
      ffmpeg: print codec name · a7632b09
      Max Kellermann authored
      Output the name of the codec as a debug message.  During my tests,
      ffmpeg never filled this struct member, but it may do so in the past,
      and this debug message might become helpful.
      a7632b09
  2. 30 Jan, 2009 1 commit
    • David Horn's avatar
      ffmeg: added support for the tags comment, genre, year · efb04532
      David Horn authored
      ffmpeg_tag_internal() does not look for a few tags that mpd
      supports. Most noteably:
      
       comment -> TAG_ITEM_COMMENT -> Description
       genre -> TAG_ITEM_GENRE -> WM/Genre (not WM/GenreID)
       year -> TAG_ITEM_DATE -> WM/Year
      
      I *think* that this is the last of the tags that AVFormatContext() in
      ffmpeg supports that mpd also uses.
      efb04532
  3. 16 Jan, 2009 1 commit
  4. 08 Jan, 2009 1 commit
  5. 01 Jan, 2009 1 commit
  6. 24 Dec, 2008 2 commits
  7. 15 Dec, 2008 2 commits
  8. 21 Nov, 2008 2 commits
  9. 18 Nov, 2008 1 commit
  10. 16 Nov, 2008 1 commit
    • Max Kellermann's avatar
      ffmpeg: fixed AVSEEK_SIZE · 8882f062
      Max Kellermann authored
      With whence==AVSEEK_SIZE, the seek function should return the file
      size, not the current offset.  Check the return value of
      input_stream_seek().
      8882f062
  11. 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
  12. 10 Nov, 2008 1 commit
  13. 04 Nov, 2008 5 commits
  14. 02 Nov, 2008 5 commits
  15. 01 Nov, 2008 2 commits
  16. 31 Oct, 2008 1 commit
  17. 30 Oct, 2008 9 commits