]> git.sesse.net Git - nageru/blobdiff - mux.cpp
Allow symlinked frame files. Useful for testing.
[nageru] / mux.cpp
diff --git a/mux.cpp b/mux.cpp
index 2be0fe4c16848d885d553745716c26c6917a29d9..bcbbef3c1c7ba429a534c6cda6b4e98cf9852005 100644 (file)
--- a/mux.cpp
+++ b/mux.cpp
@@ -197,7 +197,7 @@ void Mux::write_packet_or_die(const AVPacket &pkt, int64_t unscaled_pts)
        int64_t old_pos = avctx->pb->pos;
        if (av_interleaved_write_frame(avctx, const_cast<AVPacket *>(&pkt)) < 0) {
                fprintf(stderr, "av_interleaved_write_frame() failed\n");
-               exit(1);
+               abort();
        }
        avio_flush(avctx->pb);
        for (MuxMetrics *metric : metrics) {