2011/10/21 Måns Rullgård <[email protected]>:
> Alex Converse <[email protected]> writes:
>
>> 2011/10/21 Måns Rullgård <[email protected]>:
>>> Alex Converse <[email protected]> writes:
>>>
>>>> ---
>>>>  libavcodec/fft-test.c |   21 ++++++++++++---------
>>>>  1 files changed, 12 insertions(+), 9 deletions(-)
>>>
>>> What is the advantage of this?
>>
>> Mostly consistency. There is no advantage to this being a global that
>> couldn't be said about many of the other variables that are local to
>> main.
>
> So why not make more of them global if that simplifies some function
> calls?
>

To my eyes it looks cleaner with fewer globals.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to