[FFmpeg-cvslog] avdevice/decklink_enc: fix unused variable compiler warnings
Devin Heitmueller
git at videolan.org
Thu Mar 9 01:44:46 EET 2023
ffmpeg | branch: master | Devin Heitmueller <devin.heitmueller at ltnglobal.com> | Fri Mar 3 16:08:15 2023 -0500| [aca7ef78cca7fbfe02cbaf51e3349e831a4a7dd6] | committer: Marton Balint
avdevice/decklink_enc: fix unused variable compiler warnings
Due to refactoring, the ctx/cctx variables are never actually used
in ff_decklink_write_packet(), so just remove them.
Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aca7ef78cca7fbfe02cbaf51e3349e831a4a7dd6
---
libavdevice/decklink_enc.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp
index 573b9e687c..8d423f6b6e 100644
--- a/libavdevice/decklink_enc.cpp
+++ b/libavdevice/decklink_enc.cpp
@@ -627,8 +627,6 @@ error:
int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt)
{
- struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
- struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
AVStream *st = avctx->streams[pkt->stream_index];
if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
More information about the ffmpeg-cvslog
mailing list