You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
aviocat: Flush the output before closing
Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -89,6 +89,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
avio_flush(output);
|
||||
avio_close(output);
|
||||
fail:
|
||||
avio_close(input);
|
||||
|
Reference in New Issue
Block a user