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

Michael Niedermayer michaelni at gmx.at
Sat Sep 10 21:20:30 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(-)

sadly doesnt apply

 Applying: Allow reading of growing avi files (ie currently being written)
/home/michael/ffmpeg-git3/ffmpeg/.git/rebase-apply/patch:14: trailing whitespace.
    int64_t filesize= avi->fsize;
/home/michael/ffmpeg-git3/ffmpeg/.git/rebase-apply/patch:23: trailing whitespace.
    if(avi->fsize<=0 || avi->fsize < avi->riff_end)
/home/michael/ffmpeg-git3/ffmpeg/.git/rebase-apply/patch:32: trailing whitespace.
                else     avi->movi_end = avi->fsize;
/home/michael/ffmpeg-git3/ffmpeg/.git/rebase-apply/patch:41: trailing whitespace.
                avi->movi_end  = avi->fsize;
error: patch failed: libavformat/avidec.c:157
error: libavformat/avidec.c: patch does not apply


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- 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/0f22782e/attachment.asc>

More information about the ffmpeg-devel mailing list