diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
commit | ff70e60176056daf646109b8e42654a3036fa02b (patch) | |
tree | 42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/v4l2.c | |
parent | 4cac0d5589ab1a076e977425925015f2c8e591a8 (diff) | |
download | ffmpeg-ff70e60176056daf646109b8e42654a3036fa02b.tar.gz |
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/v4l2.c')
-rw-r--r-- | libavformat/v4l2.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/v4l2.c b/libavformat/v4l2.c index f9059a18bc..009ca9fc95 100644 --- a/libavformat/v4l2.c +++ b/libavformat/v4l2.c @@ -522,7 +522,7 @@ static int v4l2_read_close(AVFormatContext *s1) return 0; } -static AVInputFormat v4l2_demuxer = { +AVInputFormat v4l2_demuxer = { "video4linux2", "video grab", sizeof(struct video_data), @@ -532,9 +532,3 @@ static AVInputFormat v4l2_demuxer = { v4l2_read_close, .flags = AVFMT_NOFILE, }; - -int v4l2_init(void) -{ - av_register_input_format(&v4l2_demuxer); - return 0; -} |