[FFmpeg-devel] [PATCH] Add AVIO_FLAG_DIRECT.

Michael Niedermayer michaelni at gmx.at
Sun Mar 25 22:35:10 CEST 2012

On Sun, Mar 25, 2012 at 10:24:12PM +0200, Reimar Döffinger wrote:
> On Sun, Mar 25, 2012 at 07:02:03PM +0200, Michael Niedermayer wrote:
> > On Sun, Mar 25, 2012 at 11:59:57AM +0200, Reimar Döffinger wrote:
> > > Allows avoiding the buffer when using avio read and write functions.
> > > 
> > > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > 
> > missing fate test,
> I'm not sure how to test it. I guess just duplicating some existing
> tests and somehow forcing this flag might work, but there's quite some
> details to figure out for that.
> If someone has a straight-forward idea for testing it I'd welcome that.

open 2 contexts with and randomly write then do the same with
random reading and check if they match

but simply switching one existing fate test to use the flag would work
too and might be simpler
probably a lossless format would make a failure more vissible

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20120325/ce3335dc/attachment.asc>

More information about the ffmpeg-devel mailing list