mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
0c92e70f6c
commit
4fb3f2519c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue