[FFmpeg-devel] [PATCH 1/9] Allow reading of growing avi files (ie currently being written)

Michael Niedermayer michaelni at gmx.at
Sat Sep 10 22:09:21 CEST 2011


On Sat, Sep 10, 2011 at 07:22:44PM +0200, Joakim Plate wrote:
> 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.
> ---
>  libavformat/avidec.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

>  avidec.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> a9930de2f45c9b67551d3516e03b1c9b9b3bac22  0001-Allow-reading-of-growing-avi-files-ie-currently-bein.patch

this breaks several fate tests, thus not pushed yet
please check if this is intended or a
bug. If its intended please explain why it happens and include the
checksum updates in the patch
thanks

--- ./tests/ref/fate/truemotion1-24    2011-09-09 22:56:47.879195242 +0200
+++ tests/data/fate/truemotion1-24  2011-09-10 22:06:04.259229514 +0200
@@ -30,6 +30,7 @@
 1, 82898, 10832, 0x3c746fbe
 0, 84000, 69120, 0x5876d758
 1, 88424, 10832, 0x05f3b08a
+0, 90000, 69120, 0x45e7dd5c
 1, 93951, 10832, 0xa6560483
 1, 99478, 10832, 0xd98a8e19
 1, 105004, 10832, 0xf98a0b2e


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110910/ad6b74b0/attachment.asc>


More information about the ffmpeg-devel mailing list