[FFmpeg-devel] [PATCH] lavu/error: use a sorted table for storing error codes and strings, add test
Reimar.Doeffinger at gmx.de
Mon Feb 6 19:56:08 CET 2012
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?
More information about the ffmpeg-devel