From b4018544fbbcb3581d31866d82bc7f8ff3da4b2a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 14 Feb 2016 21:30:53 +0100 Subject: [PATCH] avformat/img2enc: remove unused variable Signed-off-by: Michael Niedermayer --- libavformat/img2enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index db235fb195..ebbac2bf7b 100644 --- a/libavformat/img2enc.c +++ b/libavformat/img2enc.c @@ -51,7 +51,6 @@ static int write_header(AVFormatContext *s) VideoMuxData *img = s->priv_data; AVStream *st = s->streams[0]; const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(st->codec->pix_fmt); - const char *proto = avio_find_protocol_name(s->filename); av_strlcpy(img->path, s->filename, sizeof(img->path));