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/grab.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/grab.c')
-rw-r--r-- | libavformat/grab.c | 8 |
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; -} |