Commit a2bc92ec authored by Aaron Boxer's avatar Aaron Boxer Committed by Sebastian Dröge

openjpegdec: fix display artifacts for RGB 8-bit

https://bugzilla.gnome.org/show_bug.cgi?id=783626
parent da1182f1
......@@ -307,14 +307,13 @@ fill_frame_packed8_3 (GstVideoFrame * frame, opj_image_t * image)
tmp = data_out;
for (x = 0; x < w; x++) {
tmp[1] = off[0] + *data_in[0];
tmp[2] = off[1] + *data_in[1];
tmp[3] = off[2] + *data_in[2];
tmp += 4;
tmp[0] = off[0] + *data_in[0];
tmp[1] = off[1] + *data_in[1];
tmp[2] = off[2] + *data_in[2];
data_in[0]++;
data_in[1]++;
data_in[2]++;
tmp += 3;
}
data_out += dstride;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment