[FFmpeg-cvslog] avcodec/smcenc: remove useless cast
Paul B Mahol
git at videolan.org
Thu Sep 7 12:14:35 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Sep 7 11:18:32 2023 +0200| [9c9f48e7f2d77d84428bab311aa55e59c156059c] | committer: Paul B Mahol
avcodec/smcenc: remove useless cast
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c9f48e7f2d77d84428bab311aa55e59c156059c
---
libavcodec/smcenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list