Without this, the end of the file might not be
transmitted/written.
---
Sorry for not noticing this earlier...

 tools/aviocat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/aviocat.c b/tools/aviocat.c
index c43c69d..183cdf70 100644
--- a/tools/aviocat.c
+++ b/tools/aviocat.c
@@ -89,6 +89,7 @@ int main(int argc, char **argv)
         }
     }
 
+    avio_flush(output);
     avio_close(output);
 fail:
     avio_close(input);
-- 
1.7.3.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to