[FFmpeg-cvslog] r21004 - trunk/libavdevice/v4l2.c
lucabe
subversion
Sun Jan 3 11:43:37 CET 2010
Author: lucabe
Date: Sun Jan 3 11:43:36 2010
New Revision: 21004
Log:
Define device_try_init() as static in libavdevice/v4l2.c.
Patch by Reinhard Tartler (siretart AT tauware DOT de).
Modified:
trunk/libavdevice/v4l2.c
Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c Sat Jan 2 18:48:08 2010 (r21003)
+++ trunk/libavdevice/v4l2.c Sun Jan 3 11:43:36 2010 (r21004)
@@ -546,11 +546,11 @@ static int v4l2_set_parameters( AVFormat
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);
More information about the ffmpeg-cvslog
mailing list