summaryrefslogtreecommitdiff
path: root/libavcodec/png_parser.c
Commit message (Collapse)AuthorAge
* png_parser: fix size of chunk_lenghtVittorio Giovara2014-11-11
| | | | | | | Fixes the comparison against constant value 0x7fffffff. CC: libav-stable@libav.org Bug-Id: CID 1198260
* png_parser: Fix parsing on big endianMartin Storsjö2013-12-18
| | | | | | | | | | | | Since pc.state is populated by shifting in from the end of the 32 bit word, the content within pc.state is already in native endian and should not be read with the AV_R{L,B} functions. This was already done correctly for state64 above. This fixes the fate-corepng test on big endian. Signed-off-by: Martin Storsjö <martin@martin.st>
* png: add a standalone parserPeter Holik2013-12-17
Useful for reading png images from a pipe.