[vlc-devel] [PATCH] AVI: add an automatic decision choice for AVI index

Laurent Aimar fenrir at elivagar.org
Tue Jan 10 20:26:31 CET 2012


On Tue, Jan 10, 2012 at 12:56:15PM -0500, Rafaël Carré wrote:
> Le 2012-01-10 12:51, Jean-Baptiste Kempf a écrit :
> > Propose a choice to automatically rebuild the index when broken...
> > ---
> >  modules/demux/avi/avi.c |   46 ++++++++++++++++++++++++++++------------------
> >  1 files changed, 28 insertions(+), 18 deletions(-)
> > 
> > diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
> > index 106bc43..e83c962 100644
> > --- a/modules/demux/avi/avi.c
> > +++ b/modules/demux/avi/avi.c
> > @@ -63,7 +63,8 @@ static const int pi_index[] = {0,1,2};
> 
> This one shouldn't be updated?
> 
> >  
> >  static const char *const ppsz_indexes[] = { N_("Ask for action"),
> >                                              N_("Always fix"),
> > -                                            N_("Never fix") };
> > +                                            N_("Never fix"),
> > +                                            N_("Automatically fix")};
> 
> 
> Any problem if it replaces the 'always fix' option?
Well, some AVI have broken index and it's nice (even if advanced)
to have a way to rebuild it.

-- 
fenrir



More information about the vlc-devel mailing list