[FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1
Soft Works
softworkz at hotmail.com
Fri Jun 26 08:33:37 EEST 2020
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Nicolas George
> Sent: Friday, June 26, 2020 7:17 AM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Cc: Limin Wang <lance.lmwang at gmail.com>
> Subject: Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use
> AV_BPRINT_SIZE_AUTOMATIC instead of 1
>
> lance.lmwang at gmail.com (12020-06-26):
> > From: Limin Wang <lance.lmwang at gmail.com>
> >
> > Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> > ---
> > libavutil/bprint.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> No to gratuitous changes that pollute the log for no benefit:
> AV_BPRINT_SIZE_AUTOMATIC = 1 is documented and part of the API.
Isn't it a clear benefit to have a named constant where the name
of the constant indicates a meaning while a plain number does not?
softworkz
More information about the ffmpeg-devel
mailing list