Browse code

avformat/img2enc: remove unused variable

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Michael Niedermayer authored on 2016/02/15 05:30:53
Showing 1 changed files
... ...
@@ -51,7 +51,6 @@ static int write_header(AVFormatContext *s)
51 51
     VideoMuxData *img = s->priv_data;
52 52
     AVStream *st = s->streams[0];
53 53
     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(st->codec->pix_fmt);
54
-    const char *proto = avio_find_protocol_name(s->filename);
55 54
 
56 55
     av_strlcpy(img->path, s->filename, sizeof(img->path));
57 56