Re: [FFmpeg-devel] [PATCH 1/2] Refactor libavutil/parseutils.c

2016-03-23 Thread Michael Niedermayer
On Wed, Mar 23, 2016 at 03:32:56PM +, Petru Rares Sincraian wrote: > All tests were in the main method which produces a long main. Now, each test > is in his own method. > > I think this produces a more clear code and follows more with the main > priority of FFmpeg "simplicity and small code s

[FFmpeg-devel] [PATCH 1/2] Refactor libavutil/parseutils.c

2016-03-23 Thread Petru Rares Sincraian
All tests were in the main method which produces a long main. Now, each test is in his own method. I think this produces a more clear code and follows more with the main priority of FFmpeg "simplicity and small code size" --- libavutil/parseutils.c | 338 +-