fftools/ffmpeg: add a helper function to access output file size

Stop accessing muxer internals from outside of ffmpeg_mux.
This commit is contained in:
Anton Khirnov
2021-12-11 14:44:38 +01:00
parent 6a23be92d2
commit 9fe62a545f
3 changed files with 16 additions and 9 deletions

View File

@@ -705,5 +705,6 @@ void of_close(OutputFile **pof);
void of_write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost,
int unqueue);
int64_t of_filesize(OutputFile *of);
#endif /* FFTOOLS_FFMPEG_H */