From: yu.dongliang <18588496441@163.com> Date: Sat, 8 Apr 2023 15:03:23 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=77a7fb170f64449d139d83337cd5098d2b4df080;p=simplay.git tmp --- diff --git a/main.c b/main.c index fcc04e2..c146727 100644 --- a/main.c +++ b/main.c @@ -38,5 +38,7 @@ int main(int argc, char* argv[]) return -1; } + while (1) + sleep(1); return 0; } diff --git a/simp_filter.c b/simp_filter.c index 0a64851..209b1be 100644 --- a/simp_filter.c +++ b/simp_filter.c @@ -189,6 +189,8 @@ int simp_filter_open(simp_filter_t** pf) pthread_cond_init (&f->cond, NULL); f->tid = -1; + + *pf = f; return 0; } @@ -386,7 +388,7 @@ int simp_filter_add_input(simp_filter_t* f, simp_avio_t* input) return 0; } - scf_loge("\n"); + scf_loge("f: %p, input: %p\n", f, input); return -1; }