X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mux.cpp;h=bcbbef3c1c7ba429a534c6cda6b4e98cf9852005;hb=3795723be95f2fe82f3c8b8b45b1a905b2c811fd;hp=2be0fe4c16848d885d553745716c26c6917a29d9;hpb=fba9223dd99865e3cb90dc353f928ac3da3ac81e;p=nageru diff --git a/mux.cpp b/mux.cpp index 2be0fe4..bcbbef3 100644 --- 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(&pkt)) < 0) { fprintf(stderr, "av_interleaved_write_frame() failed\n"); - exit(1); + abort(); } avio_flush(avctx->pb); for (MuxMetrics *metric : metrics) {