diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-29 15:22:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-06-02 21:52:15 +0200 |
commit | fefa67d536346b39973ab70b892d8ef27215b0b3 (patch) | |
tree | 8977a580c4ea744f5f817570a0c78e8233370c82 /libavdevice | |
parent | 4078ed26312adb9adc1948556464705011b28e67 (diff) | |
download | ffmpeg-fefa67d536346b39973ab70b892d8ef27215b0b3.tar.gz |
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index d9dce33b9e..0cd4f38389 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -642,7 +642,7 @@ static int v4l2_read_header(AVFormatContext *s1, AVFormatParameters *ap) desired_format = device_try_init(s1, pix_fmt, &s->width, &s->height, &codec_id); if (desired_format == 0) { av_log(s1, AV_LOG_ERROR, "Cannot find a proper format for " - "codec_id %d, pix_fmt %d.\n", s1->video_codec_id, ap->pix_fmt); + "codec_id %d, pix_fmt %d.\n", s1->video_codec_id, pix_fmt); close(s->fd); res = AVERROR(EIO); |