]> git.sesse.net Git - vlc/commitdiff
Remove useless cast.
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 2 Oct 2010 00:01:17 +0000 (02:01 +0200)
committerSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 2 Oct 2010 00:01:17 +0000 (02:01 +0200)
modules/access/decklink.cpp

index 3aaf8ef0641e80effcf73d84ea6cb40cee0801c9..aca08d5c9292bd174c3901724eebdfca75d5200f 100644 (file)
@@ -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 );
         }