Hi, as in subject. -- FFmpeg = Faithful and Freak MultiPurpose Enhanced Ghost
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);
Just want to say that the current behavior of url_exist() is not correct, for example it will return 0 if the checked file is a file with permission a-w. Regards. -- FFmpeg = Fostering and Foolish Magical Prodigious Enchanting Gadget
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. -- FFmpeg = Fierce and Furious Maxi Puristic Efficient God
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 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact
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
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
On date Monday 2010-03-29 00:06:02 +0200, Michael Niedermayer encoded:
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: [...]
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
Regards. -- FFmpeg = Fast and Fascinating Most Pitiless Evanescent God
On Tue, Mar 30, 2010 at 12:29:39AM +0200, Stefano Sabatini wrote:
On date Monday 2010-03-29 00:06:02 +0200, Michael Niedermayer encoded:
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: [...]
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
Regards.
-- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not simpler. -- Albert Einstein
On date Tuesday 2010-03-30 01:45:29 +0200, Michael Niedermayer encoded:
On Tue, Mar 30, 2010 at 12:29:39AM +0200, Stefano Sabatini wrote:
On date Monday 2010-03-29 00:06:02 +0200, Michael Niedermayer encoded:
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: [...]
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
Regards.
Well I missed to say: "applied"... -- FFmpeg = Foolish Fantastic Martial Portable Eager Gymnast
On Tue, Mar 30, 2010 at 02:09:38AM +0200, Stefano Sabatini wrote:
On date Tuesday 2010-03-30 01:45:29 +0200, Michael Niedermayer encoded:
On Tue, Mar 30, 2010 at 12:29:39AM +0200, Stefano Sabatini wrote:
On date Monday 2010-03-29 00:06:02 +0200, Michael Niedermayer encoded:
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: [...]
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
Regards.
Well I missed to say: "applied"...
glad you didnt miss to write it ;) [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 2 "100% positive feedback" - "All either got their money back or didnt complain" "Best seller ever, very honest" - "Seller refunded buyer after failed scam"
participants (2)
-
michaelni@gmx.at -
stefano.sabatini-lala@poste.it