[FFmpeg-devel] [PATCH] examples/avio_list_dir: add move and delete methods

Michael Niedermayer michael at niedermayer.cc
Sun Aug 16 02:37:37 CEST 2015


On Sat, Aug 15, 2015 at 06:02:32PM +0200, Mariusz SzczepaƄczyk wrote:
> On Sat, Aug 15, 2015 at 3:56 AM, Michael Niedermayer <michael at niedermayer.cc
> > wrote:
> 
> > On Sat, Aug 15, 2015 at 02:01:20AM +0200, Mariusz SzczepaƄczyk wrote:
> > > ---
> > >  doc/examples/avio_list_dir.c | 92
> > ++++++++++++++++++++++++++++++++++++--------
> > >  1 file changed, 76 insertions(+), 16 deletions(-)
> > >
> > > diff --git a/doc/examples/avio_list_dir.c b/doc/examples/avio_list_dir.c
> > > index 4060ba6..50c435c 100644
> > > --- a/doc/examples/avio_list_dir.c
> > > +++ b/doc/examples/avio_list_dir.c
> >
> > applied
> >
> > maybe the example should be renamed though as it does more than list
> > directories now
> >
> > thanks
> >
> >
> like this?
> 
> 
> > [...]
> > --
> > Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> >
> > Its not that you shouldnt use gotos but rather that you should write
> > readable code and code with gotos often but not always is less readable
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> >

>  b/.gitignore                  |    2 
>  b/configure                   |    4 
>  b/doc/Makefile                |    2 
>  b/doc/examples/Makefile       |    2 
>  b/doc/examples/avio_dir_cmd.c |  180 ++++++++++++++++++++++++++++++++++++++++++
>  doc/examples/avio_list_dir.c  |  180 ------------------------------------------
>  6 files changed, 185 insertions(+), 185 deletions(-)
> fba43c6f533ab8acfec894b21bc0aa6070a70e76  0001-doc-examples-rename-avio_list_dir-avio_dir_cmd.patch
> From ef37d8048a739db93df2516b7428ae009c4a6752 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Mariusz=20Szczepa=C5=84czyk?= <mszczepanczyk at gmail.com>
> Date: Sat, 15 Aug 2015 17:59:17 +0200
> Subject: [PATCH] doc/examples: rename avio_list_dir -> avio_dir_cmd

applied

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: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150816/008da357/attachment.sig>


More information about the ffmpeg-devel mailing list