[FFmpeg-devel] [PATCH] Document avio.h:url_exist()

Michael Niedermayer michaelni
Mon Mar 29 00:06:02 CEST 2010


On Sun, Mar 28, 2010 at 12:45:49PM +0200, Stefano Sabatini wrote:
> On date Sunday 2010-03-28 00:40:04 +0100, Michael Niedermayer encoded:
> > On Sat, Mar 27, 2010 at 10:19:13PM +0100, Stefano Sabatini wrote:
> > > On date Saturday 2010-01-23 19:23:37 +0100, Stefano Sabatini encoded:
> > > > On date Saturday 2010-01-23 18:45:24 +0100, Stefano Sabatini encoded:
> > > > > Hi, as in subject.
> > > > > -- 
> > > > > FFmpeg = Faithful and Freak MultiPurpose Enhanced Ghost
> > > > 
> > > > > Index: ffmpeg/libavformat/avio.h
> > > > > ===================================================================
> > > > > --- ffmpeg.orig/libavformat/avio.h	2010-01-23 18:42:36.000000000 +0100
> > > > > +++ ffmpeg/libavformat/avio.h	2010-01-23 18:43:46.000000000 +0100
> > > > > @@ -104,6 +104,10 @@
> > > > >  int url_write(URLContext *h, unsigned char *buf, int size);
> > > > >  int64_t url_seek(URLContext *h, int64_t pos, int whence);
> > > > >  int url_close(URLContext *h);
> > > > > +
> > > > > +/**
> > > > > + * Returns 1 if the resource indicated by url exists, 0 otherwise.
> > > > > + */
> > > > >  int url_exist(const char *url);
> > > > >  int64_t url_filesize(URLContext *h);
> > > 
> > > Ping.
> > 
> > the API should not constraint the implemenattion so tightly
> > dayly major ver bumps suck fuctioon1234 sucks too
> > 0 and >0 is better, that allows us to return more information
> > in the future. Maybe we wont ever but APIs should not be unneccessarily
> > constraint
> 
> Check it again, regards.
> -- 
> FFmpeg = Forgiving and Faithless Mournful Porno Evangelical Governor

>  avio.h |    5 +++++
>  1 file changed, 5 insertions(+)
> 8964b44cd1457d57d44fd5fc9c2205b589eee3e1  0001-Document-url_exist.patch
> >From d720325e820ecc0801b3c18ac93e37a70689fd02 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sun, 28 Feb 2010 00:18:22 +0100
> Subject: [PATCH 1/5] Document url_exist().

ok

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

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100329/1269529b/attachment.pgp>



More information about the ffmpeg-devel mailing list