From: Steinar H. Gunderson Date: Sat, 2 Oct 2010 00:01:17 +0000 (+0200) Subject: Remove useless cast. X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=71b6846925c287d3107a82e13658ba4e45ce1d5a Remove useless cast. --- 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 ); }