recommit of
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Oct 2003 14:40:36 +0000 (14:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Oct 2003 14:40:36 +0000 (14:40 +0000)
commitffaa816ee3d4654b3082b90f5e02d5d71fae5cfb
tree0966f3106f5a7adfaabd0fdca84ff2307dfb9be8
parentfe08925f64c1a891396c726f2e514d02d8997e5b
recommit of
    * fixing an unitilaized field AVImageInfo::interleaved.

      As a matter of fact we have two problems here: first
      AVImageInfo::interleaved is never initialzed in img.c.
      The second problem is that even if we want interleaved
      PNGs there's a bug in png.c that prevents us from generating
      them.

      The later problem is for somebody familiar with PNG to
      handle.

      And yes, always setting AVImageInfo::interleaved to 0 isn't
      such a good idea, but it still beats garbage values.
orginal commit by roman shaposhnik

Originally committed as revision 2380 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/img.c