[PATCH] sndfile-util: reduce useless loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-05-07 at 16:52 +0800, Wang Xingchao wrote:
> it's useless to get the same SF_FORMAT_INFO three times, just compare the
> name/extention in the same loop.
> 
> Signed-off-by: Wang Xingchao <xingchao.wang at intel.com>
> ---
>  src/pulsecore/sndfile-util.c |   22 +++-------------------
>  1 file changed, 3 insertions(+), 19 deletions(-)

Thanks, applied.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux