Commit 8040c3b2 authored by Reinhard Tartler's avatar Reinhard Tartler Committed by Luca Abeni

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
parent f412d5e9
...@@ -546,11 +546,11 @@ static int v4l2_set_parameters( AVFormatContext *s1, AVFormatParameters *ap ) ...@@ -546,11 +546,11 @@ static int v4l2_set_parameters( AVFormatContext *s1, AVFormatParameters *ap )
return 0; return 0;
} }
uint32_t device_try_init(AVFormatContext *s1, static uint32_t device_try_init(AVFormatContext *s1,
const AVFormatParameters *ap, const AVFormatParameters *ap,
int *width, int *width,
int *height, int *height,
enum CodecID *codec_id) enum CodecID *codec_id)
{ {
uint32_t desired_format = fmt_ff2v4l(ap->pix_fmt, ap->video_codec_id); uint32_t desired_format = fmt_ff2v4l(ap->pix_fmt, ap->video_codec_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment