[Ffmpeg-devel] [PATCH] ATRAC3 decoder

Benjamin Larsson banan
Wed Apr 18 07:05:22 CEST 2007


Michael Niedermayer wrote:
> Hi
>
> On Tue, Apr 17, 2007 at 11:02:50PM +0200, Benjamin Larsson wrote:
> [...]
>   
>>
>>     
>>>   
>>>       
>>>>                 component_count++;
>>>>             }
>>>>         }
>>>>     }
>>>>
>>>>     *numComponents = component_count;
>>>>
>>>>     return 0;
>>>> }
>>>>     
>>>>         
>>> hmm why isnt numComponents returned per return numComponents?
>>>   
>>>       
>> The return is used by the error state.
>>     
>
> why not
> returns <0 if error otherwise the number of components?
>
>
> [...]
>   

Neat, I'll use that.

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list