diff options
author | Gautam Ramakrishnan <gautamramk@gmail.com> | 2020-07-23 22:41:10 +0530 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-24 22:34:15 +0200 |
commit | ff5b9ece4290d245ba3bbf110d90f3f432dda3cc (patch) | |
tree | ce5dd27261db51e245ba210e9424f84cea641fd6 /libavcodec/huffyuvdsp.c | |
parent | 4333718b357a9ad195031e5d0ea080d37677b795 (diff) | |
download | ffmpeg-ff5b9ece4290d245ba3bbf110d90f3f432dda3cc.tar.gz |
libavcodec/jpeg2000dec: Fix codeblock decode check
The codeblock decoder checks whether the mqc decoder
has decoded the right number of bytes. However, this
check does not account for the fact that the mqc encoder's
flush routine adds 2 bytes of data which does not have to be
read by the decoder. The check is modified to account for
this. This patch solves issue #4827
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/huffyuvdsp.c')
0 files changed, 0 insertions, 0 deletions