Skip to content

Commit

Permalink
Fix high bit depth deinterleave of YUYV or UYVY
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterNobody committed Jan 28, 2023
1 parent cd31a90 commit eaa68fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ int x264_frame_copy_picture( x264_t *h, x264_frame_t *dst, x264_picture_t *src )
{
int p = i_csp == X264_CSP_UYVY;
h->mc.plane_copy_deinterleave_yuyv( dst->plane[p], dst->i_stride[p], dst->plane[p^1], dst->i_stride[p^1],
(pixel*)src->img.plane[0], src->img.i_stride[0], h->param.i_width, h->param.i_height );
(pixel*)src->img.plane[0], src->img.i_stride[0]/SIZEOF_PIXEL, h->param.i_width, h->param.i_height );
}
else if( i_csp == X264_CSP_V210 )
{
Expand Down

0 comments on commit eaa68fa

Please sign in to comment.