aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-14 21:30:53 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-14 21:30:53 +0100
commitb4018544fbbcb3581d31866d82bc7f8ff3da4b2a (patch)
tree3781c0820eafc206b2c5d4ac5726d250f99be9bd /libavformat
parent0eb4092c1bf4d74c3b9a65fb0dbe4f90d3a316d0 (diff)
downloadffmpeg-b4018544fbbcb3581d31866d82bc7f8ff3da4b2a.tar.gz
avformat/img2enc: remove unused variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/img2enc.c1
1 files changed, 0 insertions, 1 deletions
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));