Commit aca7ef78 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by 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: 's avatarDevin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 25d09ac0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment