[FFmpeg-devel] [PATCH] lavu/error: use a sorted table for storing error codes and strings, add test

Stefano Sabatini stefasab at gmail.com
Mon Feb 6 20:04:09 CET 2012


On date Monday 2012-02-06 19:56:08 +0100, Reimar Döffinger encoded:
> On 6 Feb 2012, at 16:20, Stefano Sabatini <stefasab at gmail.com> wrote:
> 
> > On date Monday 2012-02-06 14:57:05 +0100, Nicolas George encoded:
> >> L'octidi 18 pluviôse, an CCXX, Stefano Sabatini a écrit :
> >>> The table is mostly useful for enumerating the available AVERROR* in the
> >>> test output.
> >> 
> >> The idea is interesting, but I find that keeping the table ordered by tag is
> >> rather bad for readability and maintainability. The table is quite small: a
> >> simple linear search could be efficient enough.
> > 
> > Updated, output is now:
> 

> Why did you leave the comment about it being required to be sorted in?

Doh, fixed locally.
-- 
FFmpeg = Furious Free Merciful Portentous Enhancing Gadget


More information about the ffmpeg-devel mailing list