You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fftools/ffmpeg_demux: add logging for -dump_attachment
Makes it more clear what was written where.
This commit is contained in:
@@ -1288,6 +1288,10 @@ static int dump_attachment(InputStream *ist, const char *filename)
|
|||||||
avio_write(out, st->codecpar->extradata, st->codecpar->extradata_size);
|
avio_write(out, st->codecpar->extradata, st->codecpar->extradata_size);
|
||||||
ret = avio_close(out);
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user