]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Use O_DIRECT buffer flushing only when we operate really on O_DIRECT file
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 May 2010 16:12:56 +0000 (18:12 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 May 2010 16:12:56 +0000 (18:12 +0200)
commit3789d48fc4ed515fd4fc879b9cdb2c6ffcc46cad
tree2a93bdc245fcaf42ada84ae3def4a85677b88131
parente6b000b4e52e685bc6387faa806f36b5f56716e8
Use O_DIRECT buffer flushing only when we operate really on O_DIRECT file

The flush_buffer function is called also when a tag is written at the
end of the encoding and it operates over DynBufer structure instead of
file.
libavformat/avio.h
libavformat/aviobuf.c