jpegdec: fix regression in indirect decode path

Revert variable name back to what it was before the G_LIKELY was
added (in commit 69c24fb9). The code works better that way.
This commit is contained in:
Tim-Philipp Müller 2009-10-16 12:33:04 +01:00
parent 0c92e70f6c
commit 4fb3f2519c

View file

@ -707,7 +707,7 @@ gst_jpeg_dec_decode_indirect (GstJpegDec * dec, guchar * base[3],
memcpy (base[0], y_rows[j], I420_Y_ROWSTRIDE (width));
if (base[0] < last[0])
base[0] += I420_Y_ROWSTRIDE (width);
if (G_LIKELY (r_h == 2)) {
if (G_LIKELY (r_v == 2)) {
memcpy (base[0], y_rows[j + 1], I420_Y_ROWSTRIDE (width));
if (base[0] < last[0])
base[0] += I420_Y_ROWSTRIDE (width);