avcodec/smcenc: remove useless cast

This commit is contained in:
Paul B Mahol 2023-09-07 11:18:32 +02:00
parent fd9bafc85e
commit 9c9f48e7f2

View File

@ -583,7 +583,7 @@ static int smc_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static int smc_encode_end(AVCodecContext *avctx)
{
SMCContext *s = (SMCContext *)avctx->priv_data;
SMCContext *s = avctx->priv_data;
av_frame_free(&s->prev_frame);