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

Michael Niedermayer michaelni at gmx.at
Sun Sep 11 17:46:10 CEST 2011


On Sun, Sep 11, 2011 at 03:51:13PM +0200, Joakim Plate wrote:
> On Sun, 11 Sep 2011 15:41:19 +0200, Joakim Plate wrote:
> 
> > On Sat, 10 Sep 2011 22:09:21 +0200, Michael Niedermayer wrote:
> > 
> >> [22 quoted lines suppressed]
> > 
> > Okey, looked at this a bit. The issue is that the fate samples all have
> > riff headers for the original file, but then they have been bytewise cut
> > shorter. So the old code never output the last frame that has been cut off
> > somewhere in the middle. After the change that half packet is output.
> > 
> > From what I gather you prefer if packets and frames are output even if not
> > complete. So i'll fixup the fate refs. 
> > 
> > /Joakim
> 
> Here is a patch wich updates fate tests also.
> 
> /Joakim

>  libavformat/avidec.c          |    8 ++++----
>  tests/ref/fate/aasc           |    1 +
>  tests/ref/fate/cvid           |    1 +
>  tests/ref/fate/fraps-v5       |    1 +
>  tests/ref/fate/truemotion1-24 |    1 +
>  tests/ref/fate/vp5            |    1 +
>  tests/ref/fate/zmbv-8bit      |    1 +
>  7 files changed, 10 insertions(+), 4 deletions(-)
> a0b5f6f9ccec8a79536d0ca9e89d40e1ccb6a448  0001-Allow-reading-of-growing-avi-files-ie-currently-bein.patch

applied with git am successfully

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/20110911/0ba2925c/attachment.asc>


More information about the ffmpeg-devel mailing list