OSDN Git Service

Allow reading of growing avi files (ie currently being written)
authorJoakim Plate <elupus@ecce.se>
Mon, 28 Jun 2010 05:28:27 +0000 (01:28 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 11 Sep 2011 15:44:20 +0000 (17:44 +0200)
commite42a3dd123c47efd7921f93d4a1f6f53c196ad4a
treebe3ca5083a659222356a5685e1fb17e4db581c7a
parentfe0ac337bd6b4783162bc55eb62f82181d498d5e
Allow reading of growing avi files (ie currently being written)

This uses the RIFF header stored size to figure out the expected AVI file size, instead
of the actual file. To work fully it requires handling failed avio_seek() instead
of assuming they always succeed.

Some fate file has been cut off and contains half a frame at the end which previously
was not output during demuxing. This frame is now output to encoder, thus fate
diff update.
libavformat/avidec.c
tests/ref/fate/aasc
tests/ref/fate/cvid
tests/ref/fate/fraps-v5
tests/ref/fate/truemotion1-24
tests/ref/fate/vp5
tests/ref/fate/zmbv-8bit