修复关闭mp4相关功能时test编译报错 (#4043)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
a839419160 2024-11-27 15:22:09 +08:00 committed by GitHub
parent 06ff8461c7
commit 78b00d9dc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
* LICENSE file in the root of the source tree. All contributing project authors * LICENSE file in the root of the source tree. All contributing project authors
* may be found in the AUTHORS file in the root of the source tree. * may be found in the AUTHORS file in the root of the source tree.
*/ */
#ifdef ENABLE_MP4
#include <signal.h> #include <signal.h>
#include <atomic> #include <atomic>
#include <iostream> #include <iostream>
@ -261,3 +261,4 @@ int main(int argc, char *argv[]) {
return 0; return 0;
} }
#endif

View File

@ -7,7 +7,7 @@
* LICENSE file in the root of the source tree. All contributing project authors * LICENSE file in the root of the source tree. All contributing project authors
* may be found in the AUTHORS file in the root of the source tree. * may be found in the AUTHORS file in the root of the source tree.
*/ */
#ifdef ENABLE_MP4
#include <signal.h> #include <signal.h>
#include <iostream> #include <iostream>
#include "Util/logger.h" #include "Util/logger.h"
@ -141,3 +141,4 @@ int main(int argc, char *argv[]) {
// return domain("/Users/xiongziliang/Downloads/mp4/Quantum.mp4", "rtsp://127.0.0.1/live/rtsp_push"); // return domain("/Users/xiongziliang/Downloads/mp4/Quantum.mp4", "rtsp://127.0.0.1/live/rtsp_push");
return domain(argv[1], argv[2]); return domain(argv[1], argv[2]);
} }
#endif