[FFmpeg-devel] [PATCH] Document ff_put_string()

Mike Melanson mike
Sat Apr 11 19:16:57 CEST 2009


Michael Niedermayer wrote:
> On Sat, Apr 11, 2009 at 06:00:51PM +0200, Stefano Sabatini wrote:
>> On date Saturday 2009-04-11 16:11:36 +0200, Michael Niedermayer encoded:
>>> On Sat, Apr 11, 2009 at 03:57:37PM +0200, Diego Biurrun wrote:
>> [...]
>>>> '\0'-terminate the string if value is non-zero
>>> iam still unhappy
>>> what about
>>>
>>> 0-terminate the written string if set
>> Updated patch.
>>
>> I prefer "value is non-zero" since the phrase "value is
>> set" is ambiguous.
> 
> than say "value is 1"

But the value could be 2, or any other non-zero integer. Hence, "...if 
value is non-zero".

-- 
     -Mike Melanson



More information about the ffmpeg-devel mailing list