Эх сурвалжийг харах

Z991239-1621 #comment other 解决启动视频rtp流存在异常问题

陈礼鹏80274480 4 жил өмнө
parent
commit
34324847d7

+ 0 - 6
Other/libvideoframework/video_coding/base/video_coding_log.c

@@ -1,12 +1,6 @@
 
 #include "video_coding_log.h"
-#ifdef _WIN32
 #include "stdarg.h"
-#else
-
-#endif // _WIN32
-
-
 
 
 static VideoCodingLogCallBack g_log_cb = {0};

+ 2 - 3
Other/libvideoframework/videortp.c

@@ -349,6 +349,8 @@ int video_coding_on_log(void *userdata, int level, const char* file, int line, c
 		vsprintf(buf, fmt, vl);
 		Dbg("%s.", buf);
 	}
+
+	return 0;
 }
 
 static int decoder_process(videortp_t *vrtp, uint8_t *input_buf, int input_len){
@@ -434,9 +436,6 @@ void decoder_destroy(videortp_t *vrtp){
 }
 
 
-#if 0
-#endif
-
 /******************************standard_h264½ÓÊÕ´¦Àí start***************************/
 static void receiver_standard_h264_update_sps(videortp_t *d, rtpframe_part_t *sps){
 	if (d->sps){