diff options
author | Martin Storsjö <martin@martin.st> | 2013-12-18 10:39:47 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-12-18 12:12:19 +0200 |
commit | b3189aff8b47fd5ca6a3f07a6a8ab68f8c9d40fe (patch) | |
tree | 4d1812d5c5d78facf12555636e56b69d85619226 /libavcodec/rtjpeg.c | |
parent | d8fd183683b7495566b7e510a6536ae2efe8dfed (diff) | |
download | ffmpeg-b3189aff8b47fd5ca6a3f07a6a8ab68f8c9d40fe.tar.gz |
png_parser: Fix parsing on big endian
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>
Diffstat (limited to 'libavcodec/rtjpeg.c')
0 files changed, 0 insertions, 0 deletions