mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user