fftools/ffmpeg_mux: return errors from of_streamcopy() instead of aborting

This commit is contained in:
Anton Khirnov
2023-07-12 19:52:19 +02:00
parent 464a5e8e76
commit 2e742a2c3c
3 changed files with 16 additions and 10 deletions

View File

@@ -826,7 +826,7 @@ void of_output_packet(OutputFile *of, OutputStream *ost, AVPacket *pkt);
/**
* @param dts predicted packet dts in AV_TIME_BASE_Q
*/
void of_streamcopy(OutputStream *ost, const AVPacket *pkt, int64_t dts);
int of_streamcopy(OutputStream *ost, const AVPacket *pkt, int64_t dts);
int64_t of_filesize(OutputFile *of);