-fix werrnings

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1097 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-01-30 15:19:50 +00:00
parent b545b44a85
commit 000cbfb525

View File

@@ -157,7 +157,7 @@ stream2file_error_msg_t stop_recording(const char * const info)
char buf[FILENAMEBUFFERSIZE]; char buf[FILENAMEBUFFERSIZE];
char buf1[FILENAMEBUFFERSIZE]; char buf1[FILENAMEBUFFERSIZE];
int fd; int fd;
stream2file_error_msg_t ret; stream2file_error_msg_t ret = STREAM2FILE_RECORDING_THREADS_FAILED;
//if(!autoshift || autoshift_delete) //if(!autoshift || autoshift_delete)
{ {
@@ -198,7 +198,7 @@ stream2file_error_msg_t stop_recording(const char * const info)
stream2file_error_msg_t update_recording(const char * const info, const unsigned short vpid, stream2file_error_msg_t update_recording(const char * const info, const unsigned short vpid,
const unsigned short * const pids, const unsigned int numpids) const unsigned short * const pids, const unsigned int numpids)
{ {
stream2file_error_msg_t ret; // stream2file_error_msg_t ret;
char buf[FILENAMEBUFFERSIZE]; char buf[FILENAMEBUFFERSIZE];
int fd; int fd;
@@ -214,5 +214,5 @@ stream2file_error_msg_t update_recording(const char * const info, const unsigned
if(g_current_channel) if(g_current_channel)
cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() | DEMUX_DECODE_0 | DEMUX_DECODE_2, true); cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() | DEMUX_DECODE_0 | DEMUX_DECODE_2, true);
return ret; return STREAM2FILE_OK /*ret*/;
} }