fftools/ffmpeg: replace print_error() by more meaningful messages

This commit is contained in:
Anton Khirnov
2023-05-07 18:29:09 +02:00
parent fd980b2615
commit a1002bc39c
3 changed files with 7 additions and 5 deletions

View File

@@ -139,7 +139,9 @@ static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
ret = av_interleaved_write_frame(s, pkt);
if (ret < 0) {
print_error("av_interleaved_write_frame()", ret);
av_log(ost, AV_LOG_ERROR,
"Error submitting a packet to the muxer: %s\n",
av_err2str(ret));
goto fail;
}