[FFmpeg-devel] [PATCH] libavdevice: make device_try_init static

Reinhard Tartler siretart
Sat Jan 2 10:44:28 CET 2010


$subj.

Reasons:
 - recently added function (lucabe, 2009-12-14 10:34:31)
 - not used outside this file

found while checking exported symbols during my work on symbol versioning.

diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 9ab4252..a9ffe3a 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);
 

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the ffmpeg-devel mailing list