From 71b6846925c287d3107a82e13658ba4e45ce1d5a Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 2 Oct 2010 02:01:17 +0200 Subject: [PATCH] Remove useless cast. --- modules/access/decklink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2