aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/smcenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-09-07 11:18:32 +0200
committerPaul B Mahol <onemda@gmail.com>2023-09-07 11:21:23 +0200
commit9c9f48e7f2d77d84428bab311aa55e59c156059c (patch)
treeb4e01f37b6b7fb0ee83b385fc22f6574e59b58ec /libavcodec/smcenc.c
parentfd9bafc85ea396f7b65178311c560aa669c00ed2 (diff)
downloadffmpeg-9c9f48e7f2d77d84428bab311aa55e59c156059c.tar.gz
avcodec/smcenc: remove useless cast
Diffstat (limited to 'libavcodec/smcenc.c')
-rw-r--r--libavcodec/smcenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/smcenc.c b/libavcodec/smcenc.c
index 40b53c40ee..fb15489ad2 100644
--- a/libavcodec/smcenc.c
+++ b/libavcodec/smcenc.c
@@ -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);