avio: flush the internal buffer in avio_close()
authorStefano Sabatini <stefasab@gmail.com>
Wed, 15 Aug 2012 23:25:05 +0000 (01:25 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 15 Sep 2012 16:24:49 +0000 (18:24 +0200)
commit5d1203f0635a0b14bea6cc609026936bd7ae9e3a
tree42c3ac0cd8c69a2d4189bc76829d1373fd62e14a
parent0443879089f29e53e79d473076b99d7618ee673f
avio: flush the internal buffer in avio_close()

This is consistent with stdio, and thus what people would naturally
expect.
libavformat/avio.h
libavformat/aviobuf.c
libavformat/img2enc.c
libavformat/version.h