[Ffmpeg-devel] [PATCH] video4linux2 input
Tue Feb 7 11:27:42 CET 2006
On Mon, 2006-02-06 at 19:25 +0200, Oded Shimon wrote:
> > The one good thing with enums is that debugger can show the symbolic names.
> > Apart from that, they are semantically equivalent to ints IIRC, with the
> > addition of polluting the namespace. I rarely use them (or debuggers).
> They are good only for switch/case stuff IMO. Not really useful for
> anything else.
Okay, let's turn it around. Why would you want to use #define's instead,
And yes, indeed, the use of enums with cases is very useful imho.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2771 bytes
Desc: not available
More information about the ffmpeg-devel