X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fdecklink.cpp;h=aca08d5c9292bd174c3901724eebdfca75d5200f;hb=71b6846925c287d3107a82e13658ba4e45ce1d5a;hp=3aaf8ef0641e80effcf73d84ea6cb40cee0801c9;hpb=d17dc40ea4296bc8f6bcfd71a8d5bb83c59d40e6;p=vlc diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp index 3aaf8ef064..aca08d5c92 100644 --- a/modules/access/decklink.cpp +++ b/modules/access/decklink.cpp @@ -203,7 +203,7 @@ HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame for( int y = 0; y < i_height; ++y ) { const uint8_t *src = (const uint8_t *)frame_bytes + i_stride * y; - uint8_t *dst = (uint8_t *)p_video_frame->p_buffer + i_width * i_bpp * y; + uint8_t *dst = p_video_frame->p_buffer + i_width * i_bpp * y; memcpy( dst, src, i_width * i_bpp ); }