diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-10-16 12:33:04 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-10-16 13:36:42 +0100 |
commit | 4fb3f2519cfaf5add427c52b606b4b4278462633 (patch) | |
tree | f0ea09eef43aef6dc7dfe70fee38ca90c857d08e /ext | |
parent | 0c92e70f6c454abe9c0146f8c732cc8a9494daa9 (diff) |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/jpeg/gstjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index b02434b7..2bea646e 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -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); |