ext/jpeg/gstjpegdec.c: Fix decoding of pictures with certain uneven or unaligned...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 12 Aug 2005 19:33:31 +0000 (19:33 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 12 Aug 2005 19:33:31 +0000 (19:33 +0000)
commitd39143f4bb05330aff16c8580d0199ac82f1beef
tree28d11d1095f064d02efa566ccb13865bbc262553
parent2c39e571142cae79fc910c359e2d6ff479299cd2
ext/jpeg/gstjpegdec.c: Fix decoding of pictures with certain uneven or unaligned widths where jpeglib needs more hori...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_decode_indirect),
(gst_jpeg_dec_decode_direct), (gst_jpeg_dec_chain):
Fix decoding of pictures with certain uneven or unaligned
widths where jpeglib needs more horizontal padding than our
I420 buffers provide, resulting in blocky artifacts at the
left side of the picture (#164176).
Also make use of our shiny new GST_ROUND_N() macros.
ChangeLog
ext/jpeg/gstjpegdec.c