git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23e57d1
)
aviocat: Flush the output before closing
author
Martin Storsjö
<martin@martin.st>
Fri, 20 Jan 2012 20:53:18 +0000
(22:53 +0200)
committer
Martin Storsjö
<martin@martin.st>
Fri, 20 Jan 2012 23:12:00 +0000
(
01:12
+0200)
Without this, the end of the file might not be transmitted/written.
Signed-off-by: Martin Storsjö <martin@martin.st>
tools/aviocat.c
patch
|
blob
|
history
diff --git
a/tools/aviocat.c
b/tools/aviocat.c
index
c43c69d
..
183cdf7
100644
(file)
--- 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);
avio_close(output);
fail:
avio_close(input);