mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 05:20:48 +00:00
avutil/log: Replace the number by macro for bprint init
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
This commit is contained in:
parent
f7ffb10fb7
commit
9ba94ac57a
@ -247,9 +247,9 @@ static void format_line(void *avcl, int level, const char *fmt, va_list vl,
|
||||
AVBPrint part[4], int *print_prefix, int type[2])
|
||||
{
|
||||
AVClass* avc = avcl ? *(AVClass **) avcl : NULL;
|
||||
av_bprint_init(part+0, 0, 1);
|
||||
av_bprint_init(part+1, 0, 1);
|
||||
av_bprint_init(part+2, 0, 1);
|
||||
av_bprint_init(part+0, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
||||
av_bprint_init(part+1, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
||||
av_bprint_init(part+2, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
||||
av_bprint_init(part+3, 0, 65536);
|
||||
|
||||
if(type) type[0] = type[1] = AV_CLASS_CATEGORY_NA + 16;
|
||||
|
Loading…
Reference in New Issue
Block a user