summaryrefslogtreecommitdiff
path: root/libavformat/dv1394.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/dv1394.c')
-rw-r--r--libavformat/dv1394.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c
index 9d229fc957..b3ab06a385 100644
--- a/libavformat/dv1394.c
+++ b/libavformat/dv1394.c
@@ -227,7 +227,7 @@ static int dv1394_close(AVFormatContext * context)
return 0;
}
-static AVInputFormat dv1394_demuxer = {
+AVInputFormat dv1394_demuxer = {
.name = "dv1394",
.long_name = "dv1394 A/V grab",
.priv_data_size = sizeof(struct dv1394_data),
@@ -236,9 +236,3 @@ static AVInputFormat dv1394_demuxer = {
.read_close = dv1394_close,
.flags = AVFMT_NOFILE
};
-
-int dv1394_init(void)
-{
- av_register_input_format(&dv1394_demuxer);
- return 0;
-}