From 8040c3b25085999042fe97763bc7367f05898599 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Sun, 3 Jan 2010 10:43:36 +0000 Subject: [PATCH] Define device_try_init() as static in libavdevice/v4l2.c. Patch by Reinhard Tartler (siretart AT tauware DOT de). Originally committed as revision 21004 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/v4l2.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 9ab42522f3..a9ffe3acd6 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -546,11 +546,11 @@ static int v4l2_set_parameters( AVFormatContext *s1, AVFormatParameters *ap ) return 0; } -uint32_t device_try_init(AVFormatContext *s1, - const AVFormatParameters *ap, - int *width, - int *height, - enum CodecID *codec_id) +static uint32_t device_try_init(AVFormatContext *s1, + const AVFormatParameters *ap, + int *width, + int *height, + enum CodecID *codec_id) { uint32_t desired_format = fmt_ff2v4l(ap->pix_fmt, ap->video_codec_id);