mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
openjpegenc: Fix data pointer incrementing
This commit is contained in:
parent
2ea8ede145
commit
ed33db79cd
1 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@ fill_image_packed16_4 (opj_image_t * image, GstVideoFrame * frame)
|
|||
*data_out[1] = tmp[2];
|
||||
*data_out[2] = tmp[3];
|
||||
|
||||
tmp++;
|
||||
tmp += 4;
|
||||
data_out[0]++;
|
||||
data_out[1]++;
|
||||
data_out[2]++;
|
||||
|
@ -256,7 +256,7 @@ fill_image_packed8_4 (opj_image_t * image, GstVideoFrame * frame)
|
|||
*data_out[1] = tmp[2];
|
||||
*data_out[2] = tmp[3];
|
||||
|
||||
tmp++;
|
||||
tmp += 4;
|
||||
data_out[0]++;
|
||||
data_out[1]++;
|
||||
data_out[2]++;
|
||||
|
@ -291,7 +291,7 @@ fill_image_packed8_3 (opj_image_t * image, GstVideoFrame * frame)
|
|||
*data_out[1] = tmp[2];
|
||||
*data_out[2] = tmp[3];
|
||||
|
||||
tmp++;
|
||||
tmp += 4;
|
||||
data_out[0]++;
|
||||
data_out[1]++;
|
||||
data_out[2]++;
|
||||
|
|
Loading…
Reference in a new issue