Makes it more clear what was written where. --- fftools/ffmpeg_demux.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index 498830098d..ab99daf9f8 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1288,6 +1288,10 @@ static int dump_attachment(InputStream *ist, const char *filename) avio_write(out, st->codecpar->extradata, st->codecpar->extradata_size); ret = avio_close(out); + if (ret >= 0) + av_log(ist, AV_LOG_INFO, "Wrote attachment (%d bytes) to '%s'\n", + st->codecpar->extradata_size, filename); + return ret; } -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".