Commit 7b740bd1 authored by Jean-Paul Saman's avatar Jean-Paul Saman

davinci: video_encoder.c: remove unused argument to davinci_CopyPictureToXDM()

Remove unused argument to function davinci_CopyPictureToXDM().
parent 6c2feaea
...@@ -203,10 +203,8 @@ static int GetVideoEncoderSettings( encoder_t *p_enc, const char *psz_codec ) ...@@ -203,10 +203,8 @@ static int GetVideoEncoderSettings( encoder_t *p_enc, const char *psz_codec )
return VLC_SUCCESS; return VLC_SUCCESS;
} }
static inline void davinci_CopyPictureToXDM( encoder_t *p_enc, XDM_BufDesc *p_buf, picture_t *p_pic ) static inline void davinci_CopyPictureToXDM(XDM_BufDesc *p_buf, picture_t *p_pic )
{ {
VLC_UNUSED( p_enc );
/* Copy input picture */ /* Copy input picture */
assert( p_pic->i_planes == p_buf->numBufs ); assert( p_pic->i_planes == p_buf->numBufs );
assert( p_pic->i_planes == 1 ); assert( p_pic->i_planes == 1 );
...@@ -318,7 +316,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pic ) ...@@ -318,7 +316,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pic )
} }
p_sys->i_pics++; p_sys->i_pics++;
davinci_CopyPictureToXDM( p_enc, &xdm->in, p_pic ); davinci_CopyPictureToXDM( &xdm->in, p_pic );
/* Encode the video */ /* Encode the video */
i_ret = VIDENC_process( xdm->handle, &xdm->in, &xdm->out, i_ret = VIDENC_process( xdm->handle, &xdm->in, &xdm->out,
...@@ -375,4 +373,3 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pic ) ...@@ -375,4 +373,3 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pic )
return p_block; return p_block;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment