From: Wu Jianhua <toqsxw@outlook.com> To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] 回复: [PATCH 1/2] avcodec/d3d12va_mpeg2: remove unused variables Date: Mon, 1 Jan 2024 09:48:57 +0000 Message-ID: <OSZP286MB2173C951F19B3E3D852EB10DCA62A@OSZP286MB2173.JPNP286.PROD.OUTLOOK.COM> (raw) In-Reply-To: <20231231202445.2023-1-jamrial@gmail.com> James Almer: > [FFmpeg-devel] [PATCH 1/2] avcodec/d3d12va_mpeg2: remove unused variables > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > is_field worries me. Was it a copy-paste left over, or is it meant to > be checked? > > libavcodec/d3d12va_mpeg2.c | 8 -------- > 1 file changed, 8 deletions(-) > diff --git a/libavcodec/d3d12va_mpeg2.c b/libavcodec/d3d12va_mpeg2.c > index 91bf3f8b75..a2ae8bf948 100644 > --- a/libavcodec/d3d12va_mpeg2.c > +++ b/libavcodec/d3d12va_mpeg2.c > @@ -49,7 +49,6 @@ static int d3d12va_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint > const MpegEncContext *s = avctx->priv_data; > D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx); > D3D12DecodePictureContext *ctx_pic = s->current_picture_ptr->hwaccel_picture_private; >- DXVA_QmatrixData *qm = &ctx_pic->qm; > > if (!ctx) > return -1; >@@ -76,8 +75,6 @@ static int d3d12va_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buff > const MpegEncContext *s = avctx->priv_data; > D3D12DecodePictureContext *ctx_pic = s->current_picture_ptr->hwaccel_picture_private; > > - int is_field = s->picture_structure != PICT_FRAME; > - > This patch set LGTM. It's something added for debugging but forgot to remove. Thanks for your fix. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2024-01-01 9:49 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-31 20:24 [FFmpeg-devel] " James Almer 2023-12-31 20:24 ` [FFmpeg-devel] [PATCH 2/2] avcodec/d3d12va_mpeg2: change the type for the ID3D12Resource_Map input data argument James Almer 2024-01-01 9:48 ` Wu Jianhua [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=OSZP286MB2173C951F19B3E3D852EB10DCA62A@OSZP286MB2173.JPNP286.PROD.OUTLOOK.COM \ --to=toqsxw@outlook.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git