Mercurial > libavformat.hg
diff grab.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
| author | mru |
|---|---|
| date | Mon, 10 Jul 2006 21:14:37 +0000 |
| parents | d89d7ef290da |
| children | d584d375f928 |
line wrap: on
line diff
--- a/grab.c Mon Jul 10 12:10:10 2006 +0000 +++ b/grab.c Mon Jul 10 21:14:37 2006 +0000 @@ -365,7 +365,7 @@ return 0; } -static AVInputFormat video_grab_device_demuxer = { +AVInputFormat video_grab_device_demuxer = { "video4linux", "video grab", sizeof(VideoData), @@ -848,9 +848,3 @@ av_freep(&s->src_mem); return 0; } - -int video_grab_init(void) -{ - av_register_input_format(&video_grab_device_demuxer); - return 0; -}
