]>
Commit | Line | Data |
---|---|---|
3315b97f SZ |
1 | diff -Naur mod_video-0.1.0/mod_video.c mod_video-0.1.0-p/mod_video.c |
2 | --- mod_video-0.1.0/mod_video.c Sat Sep 9 06:02:30 2000 | |
3 | +++ mod_video-0.1.0-p/mod_video.c Sat Aug 18 17:09:44 2001 | |
4 | @@ -403,7 +403,7 @@ | |
5 | } | |
6 | ||
7 | /* select correct video channel */ | |
8 | - if (select_video_channel(conf->input, device)) { | |
9 | + if (conf->input >= 0 && select_video_channel(conf->input, device)) { | |
10 | close(device); | |
11 | return SERVER_ERROR; | |
12 | } |