summaryrefslogtreecommitdiff
path: root/libavformat/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/grab.c')
-rw-r--r--libavformat/grab.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/grab.c b/libavformat/grab.c
index 9a8bba034e..5b3c49a080 100644
--- a/libavformat/grab.c
+++ b/libavformat/grab.c
@@ -365,7 +365,7 @@ static int grab_read_close(AVFormatContext *s1)
return 0;
}
-static AVInputFormat video_grab_device_demuxer = {
+AVInputFormat video_grab_device_demuxer = {
"video4linux",
"video grab",
sizeof(VideoData),
@@ -848,9 +848,3 @@ static int aiw_close(VideoData *s)
av_freep(&s->src_mem);
return 0;
}
-
-int video_grab_init(void)
-{
- av_register_input_format(&video_grab_device_demuxer);
- return 0;
-}