diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-10-27 22:35:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-27 22:46:32 +0100 |
commit | b387a24cb4ad14f567ae2643a7959fe61b82f95a (patch) | |
tree | a06de71e352e70127e864c07da1e6a28a855a9ef | |
parent | 758b6d39f685a510f48ff9e4c05fffa859d23c42 (diff) | |
download | ffmpeg-b387a24cb4ad14f567ae2643a7959fe61b82f95a.tar.gz |
lavd/fbdev_enc: remove unused variables
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavdevice/fbdev_enc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavdevice/fbdev_enc.c b/libavdevice/fbdev_enc.c index 90164028c7..098eedb5f5 100644 --- a/libavdevice/fbdev_enc.c +++ b/libavdevice/fbdev_enc.c @@ -44,15 +44,12 @@ static av_cold int fbdev_write_header(AVFormatContext *h) { FBDevContext *fbdev = h->priv_data; enum AVPixelFormat pix_fmt; - AVStream *st = NULL; int ret, flags = O_RDWR; - int i; if (h->nb_streams != 1 || h->streams[0]->codec->codec_type != AVMEDIA_TYPE_VIDEO) { av_log(fbdev, AV_LOG_ERROR, "Only a single video stream is supported.\n"); return AVERROR(EINVAL); } - st = h->streams[0]; if ((fbdev->fd = avpriv_open(h->filename, flags)) == -1) { ret = AVERROR(errno); |