mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
f412d5e97a
commit
8040c3b250
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue