[FFmpeg-devel] [PATCH] dump_format after av_write_header
Baptiste Coudurier
baptiste.coudurier
Fri Feb 27 19:59:26 CET 2009
On 2/27/2009 11:09 AM, Michael Niedermayer wrote:
> On Thu, Feb 26, 2009 at 07:38:38PM -0800, Baptiste Coudurier wrote:
>> Michael Niedermayer wrote:
>>> On Thu, Feb 26, 2009 at 05:17:51PM -0800, Baptiste Coudurier wrote:
>>>> Hi guys,
>>>>
>>>> $subject, this will permit to see how av_write_header sets time_base.
>>> ok
>>>
>> Nice, after checking again, I believe it might be more elegant to print
>> the error at the end, so user can see it easier.
>>
>> How is it ?
>>
>> --
>> Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
>> Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
>> checking for life_signs in -lkenny... no
>> FFmpeg maintainer http://www.ffmpeg.org
>
>> Index: ffmpeg.c
>> ===================================================================
>> --- ffmpeg.c (revision 17630)
>> +++ ffmpeg.c (working copy)
>> @@ -1543,6 +1543,8 @@
>> return -1;
>> }
>>
>> +static char error[1024];
>> +
>> /*
>> * The following code is the main loop of the file converter
>> */
>
> this is ugly, cant a local buffer be used inside a function?
Yes, no problem. Btw what's the advantage ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list