mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 01:46:16 +00:00
As nobody fixed this yet:
"tv.c: In function stream_open_tv': tv.c:107: warning: return' with no value, in function returning non-void" According to libmpdemux/open.c 0 is an error so I guess it should return 0 if it fails :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3729 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a1e6e85834
commit
c969b3efb9
@ -104,7 +104,7 @@ int stream_open_tv(stream_t *stream, tvi_handle_t *tvh)
|
||||
if (funcs->control(tvh->priv, TVI_CONTROL_IS_VIDEO, 0) != TVI_CONTROL_TRUE)
|
||||
{
|
||||
mp_msg(MSGT_TV, MSGL_ERR, "Error: no video input present!\n");
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!strcasecmp(tv_param_outfmt, "yv12"))
|
||||
|
Loading…
Reference in New Issue
Block a user