fix warning abount comment inside comment

This commit is contained in:
Michael Jerris 2014-03-03 08:25:47 -05:00
parent ecd6dfc612
commit ae216daf02
1 changed files with 7 additions and 7 deletions

View File

@ -42,7 +42,7 @@ SWITCH_MODULE_DEFINITION(mod_mp4, mod_mp4_load, NULL, NULL);
#define VID_BIT (1 << 31) #define VID_BIT (1 << 31)
#define VERSION 4201 #define VERSION 4201
/* #ifdef MP4_RECORD
struct file_header { struct file_header {
int32_t version; int32_t version;
char video_codec_name[32]; char video_codec_name[32];
@ -58,7 +58,7 @@ struct record_helper {
int fd; int fd;
int up; int up;
}; };
*/ #endif
struct AVParams { struct AVParams {
switch_core_session_t * session; switch_core_session_t * session;
@ -75,7 +75,7 @@ struct AVParams {
static void *SWITCH_THREAD_FUNC record_video_thread(switch_thread_t *thread, void *obj) static void *SWITCH_THREAD_FUNC record_video_thread(switch_thread_t *thread, void *obj)
{ {
/* #ifdef MP4_RECORD
record_helper *eh = reinterpret_cast<record_helper *>(obj); record_helper *eh = reinterpret_cast<record_helper *>(obj);
switch_core_session_t *session = eh->session; switch_core_session_t *session = eh->session;
switch_channel_t *channel = switch_core_session_get_channel(session); switch_channel_t *channel = switch_core_session_get_channel(session);
@ -114,13 +114,13 @@ static void *SWITCH_THREAD_FUNC record_video_thread(switch_thread_t *thread, voi
switch_core_session_write_video_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0); switch_core_session_write_video_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0);
} }
eh->up = 0; eh->up = 0;
*/ #endif
return NULL; return NULL;
} }
SWITCH_STANDARD_APP(record_mp4_function) SWITCH_STANDARD_APP(record_mp4_function)
{ {
/* #ifdef MP4_RECORD
switch_status_t status; switch_status_t status;
switch_frame_t *read_frame; switch_frame_t *read_frame;
switch_channel_t *channel = switch_core_session_get_channel(session); switch_channel_t *channel = switch_core_session_get_channel(session);
@ -163,7 +163,7 @@ SWITCH_STANDARD_APP(record_mp4_function)
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Error opening file %s\n", (char *) data); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Error opening file %s\n", (char *) data);
return; return;
} }
** */
MP4::Context ctx(reinterpret_cast<char*>(data), true); MP4::Context ctx(reinterpret_cast<char*>(data), true);
@ -258,7 +258,7 @@ SWITCH_STANDARD_APP(record_mp4_function)
switch_core_session_set_read_codec(session, NULL); switch_core_session_set_read_codec(session, NULL);
switch_core_codec_destroy(&codec); switch_core_codec_destroy(&codec);
*/ #endif
} }
static void *SWITCH_THREAD_FUNC play_video_function(switch_thread_t *thread, void *obj) static void *SWITCH_THREAD_FUNC play_video_function(switch_thread_t *thread, void *obj)