aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-01-03 10:43:36 +0000
committerLuca Abeni <lucabe72@email.it>2010-01-03 10:43:36 +0000
commit8040c3b25085999042fe97763bc7367f05898599 (patch)
tree9cf491b78d2f6a5dab9562329a2f9aba67c90bbb /libavdevice
parentf412d5e97aadf184c67f721fd8a07acdefad2a78 (diff)
downloadffmpeg-8040c3b25085999042fe97763bc7367f05898599.tar.gz
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
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/v4l2.c10
1 files 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);