diff options
author | Devin Heitmueller <devin.heitmueller@ltnglobal.com> | 2023-03-03 16:08:15 -0500 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-03-08 23:53:26 +0100 |
commit | aca7ef78cca7fbfe02cbaf51e3349e831a4a7dd6 (patch) | |
tree | 6329059f731c76e253bd25c4ac9ce9829e7e9f4f | |
parent | 25d09ac0eb175fa75da7107eb2f05e5b17152ffa (diff) |
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@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | libavdevice/decklink_enc.cpp | 2 |
1 files changed, 0 insertions, 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) |