Commit b4018544 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/img2enc: remove unused variable

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0eb4092c
...@@ -51,7 +51,6 @@ static int write_header(AVFormatContext *s) ...@@ -51,7 +51,6 @@ static int write_header(AVFormatContext *s)
VideoMuxData *img = s->priv_data; VideoMuxData *img = s->priv_data;
AVStream *st = s->streams[0]; AVStream *st = s->streams[0];
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(st->codec->pix_fmt); 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)); av_strlcpy(img->path, s->filename, sizeof(img->path));
......
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