File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1861,8 +1861,8 @@ void *hls_unified_thread_func(void *arg) {
18611861 bool context_valid = true;
18621862
18631863 // Basic validation of context structure
1864- if (ctx_to_free -> stream_name == NULL || ctx_to_free -> stream_name [0 ] == '\0' ) {
1865- log_warn ("Context has NULL or empty stream_name, may be corrupted" );
1864+ if (ctx_to_free -> stream_name [0 ] == '\0' ) {
1865+ log_warn ("Context has empty stream_name, may be corrupted" );
18661866 context_valid = false;
18671867 }
18681868
@@ -2499,8 +2499,8 @@ int stop_hls_unified_stream(const char *stream_name) {
24992499 bool context_valid = true;
25002500
25012501 // Basic validation of context structure
2502- if (ctx_to_free -> stream_name == NULL || ctx_to_free -> stream_name [0 ] == '\0' ) {
2503- log_warn ("Context has NULL or empty stream_name, may be corrupted" );
2502+ if (ctx_to_free -> stream_name [0 ] == '\0' ) {
2503+ log_warn ("Context has empty stream_name, may be corrupted" );
25042504 context_valid = false;
25052505 }
25062506
You can’t perform that action at this time.
0 commit comments