[FFmpeg-devel] [PATCH] Add log severity level to default log formatting

hjiodjf 97xgw46 jfbvxt at gmail.com
Tue Feb 18 02:09:09 CET 2014


Here is an updated patch that fixes the issue with the format_line
declaration and adds messages for PANIC and QUIET.

On Fri, Feb 14, 2014 at 11:10 AM, Lukasz Marek <lukasz.m.luki at gmail.com> wrote:
> On 14.02.2014 18:54, hjiodjf 97xgw46 wrote:
>>
>>   static void format_line(void *ptr, int level, const char *fmt, va_list
>> vl,
>>                           AVBPrint part[3], int *print_prefix, int
>> type[2])
>>   {
>>       AVClass* avc = ptr ? *(AVClass **) ptr : NULL;
>>       av_bprint_init(part+0, 0, 1);
>>       av_bprint_init(part+1, 0, 1);
>> -    av_bprint_init(part+2, 0, 65536);
>> +    av_bprint_init(part+2, 0, 1);
>> +    av_bprint_init(part+3, 0, 65536);
>
>
> argument is still part[3]. Should be part[4] now.
>
> --
> Best Regards,
> Lukasz Marek
>
> Insanity: doing the same thing over and over again and expecting different
> results. - Albert Einstein
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log2.patch
Type: application/octet-stream
Size: 3413 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140217/85fa0d98/attachment.obj>


More information about the ffmpeg-devel mailing list