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

This commit is contained in:
Anton Khirnov
2023-07-13 13:34:32 +02:00
parent 2b4afe8169
commit e0f4259689
4 changed files with 21 additions and 17 deletions

View File

@@ -830,7 +830,7 @@ void of_close(OutputFile **pof);
void of_enc_stats_close(void);
void of_output_packet(OutputFile *of, OutputStream *ost, AVPacket *pkt);
int of_output_packet(OutputFile *of, OutputStream *ost, AVPacket *pkt);
/**
* @param dts predicted packet dts in AV_TIME_BASE_Q