1. 21 Sep, 2014 1 commit
    • wm4's avatar
      avformat/mp3dec: avoid early EOF with concatenated gapless mp3s · 6c7f1155
      wm4 authored
      Consider a file created with something like:
      
          cat file1.mp3 file2.mp3 > result.mp3
      
      Then if file2.mp3 has gapless information, result.mp3 would stop playing
      something in the middle. This happens because the gapless info directs
      the decoder to discard all samples after a certain position. To make
      matters worse, the gapless info of file2.mp3 will be used when playing
      the file1.mp3 part, because the gapless info is located at the end of
      the file.
      
      While handling concatenated gapless files correctly would be insane and
      a lot of effort (especially without scanning the whole file on opening),
      it's easy to prevent at least early EOF. Playback will happen to work,
      even if it's slightly broken.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      6c7f1155
  2. 20 Sep, 2014 1 commit
    • wm4's avatar
      avformat/mp3dec: fix gapless audio support · d87fe268
      wm4 authored
      The code already had skipping of initial padding, but discarding
      trailing frame padding was missing.
      
      This is somewhat questionable, because it will make the decoder discard
      any data after the declared file size in the LAME header. But note that
      skipping full frames at the end of the stream is required. Encoders
      actually create such files.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      d87fe268
  3. 10 Sep, 2014 1 commit
  4. 24 Jul, 2014 1 commit
  5. 12 May, 2014 1 commit
  6. 17 Apr, 2014 2 commits
  7. 24 Mar, 2014 1 commit
  8. 01 Mar, 2014 1 commit
  9. 05 Jan, 2014 1 commit
  10. 09 Nov, 2013 1 commit
  11. 25 Oct, 2013 1 commit
  12. 12 Sep, 2013 1 commit
  13. 25 Aug, 2013 1 commit
  14. 05 Aug, 2013 1 commit
  15. 08 Jul, 2013 1 commit
  16. 07 Jul, 2013 2 commits
  17. 06 Jul, 2013 1 commit
  18. 04 May, 2013 1 commit
  19. 19 Apr, 2013 1 commit
  20. 08 Mar, 2013 1 commit
    • Alexander Kojevnikov's avatar
      mp3dec: Fix VBR bit rate parsing · eae0879d
      Alexander Kojevnikov authored
      When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag.
      
      When parsing the stream, don't override the bit rate if it's already set,
      otherwise calculate the mean bit rate from parsed frames. This way, the bit
      rate will be set correctly both for CBR and VBR streams.
      
      CC:libav-stable@libav.org
      Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
      eae0879d
  21. 05 Mar, 2013 1 commit
  22. 25 Dec, 2012 1 commit
  23. 29 Oct, 2012 1 commit
  24. 21 Oct, 2012 1 commit
    • Michael Niedermayer's avatar
      mp3demux: Rewrite xing TOC based seeking · b6267901
      Michael Niedermayer authored
      The libav code depends on mp3 startcodes only occuring at the start of
      frames. But there is nothing in mp3 that prevents them occuring elsewhere
      by chance. Thus the code would fail randomly, the new code searches for 3
      consecutive valid frames. If this turns out to be still insufficient the
      number can be raised further, or additional checks added.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      b6267901
  25. 20 Sep, 2012 1 commit
  26. 19 Sep, 2012 2 commits
  27. 07 Aug, 2012 1 commit
  28. 30 Jul, 2012 1 commit
  29. 28 Jul, 2012 3 commits
  30. 26 Jul, 2012 1 commit
  31. 14 Jul, 2012 1 commit
  32. 12 Jul, 2012 1 commit
  33. 30 May, 2012 1 commit
  34. 08 May, 2012 2 commits