summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-22 04:56:51 +0100
committerwm4 <wm4@nowhere>2019-12-22 04:57:18 +0100
commit9e15e3ad8f5829e86b3a17e4f2de28b62989b756 (patch)
tree61f857907c8c1e7ccc8b758d2cbcf58c07494aad
parent2a70140ba8a3f1f439c94ca1fe372dc53e61c467 (diff)
downloadmpv-9e15e3ad8f5829e86b3a17e4f2de28b62989b756.tar.bz2
mpv-9e15e3ad8f5829e86b3a17e4f2de28b62989b756.tar.xz
demux: remove debug abort()
WHAT THE FUCK Fixes: #7279
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 4e52fa79b8..1bf0277873 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -4440,7 +4440,7 @@ static void visit_meta(struct demuxer *demuxer, void *ctx,
static void visit_detect(void *ctx, void *ta, char **s)
{
char **all = ctx;
-abort();
+
if (*s)
*all = talloc_asprintf_append_buffer(*all, "%s\n", *s);
}