1. 25 Apr, 2011 1 commit
    • Kostya Shishkov's avatar
      read AVI palette from the end of extradata · 23f40a07
      Kostya Shishkov authored
      Official AVI specification says that stream header in case of video contains
      BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently
      lavf AVI demuxer thinks otherwise which produces garbage on codecs that have
      both palette and extradata (luckily, there are not so many such codecs).
      
      An example of such file is:
      http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi
      (IIRC, MSS1 or MSS2 also had such situation but they are still not supported
      by lavc).
      
      As a side note, passing palette in extradata as it's been done previously is
      not quite correct since proper _extra_ data is surplus bytes in
      BITMAPINFOHEADER, not including palette.
      Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
      23f40a07
  2. 24 Apr, 2011 7 commits
  3. 23 Apr, 2011 16 commits
  4. 22 Apr, 2011 8 commits
  5. 21 Apr, 2011 8 commits