[FFmpeg-devel] [PATCH V1] avutil/file: always set *size to zero if *bufptr is NULL
mypopy at gmail.com
mypopy at gmail.com
Fri Aug 30 04:04:38 EEST 2019
On Thu, Aug 29, 2019 at 9:07 PM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> On Thu, Aug 29, 2019 at 01:04:43AM +0800, Jun Zhao wrote:
> > From: Jun Zhao <barryjzhao at tencent.com>
> >
> > Always set *size to zero if *bufptr is NULL, it's more make sence.
> >
> > fix #8095
> >
> > Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> > ---
> > libavutil/file.c | 7 ++++++-
> > 1 files changed, 6 insertions(+), 1 deletions(-)
>
> probably ok
>
> maybe the av_file_unmap and av_file_map changes could be in seperate patches
>
> thx
>
> [...]
Thanks, will split the patch
More information about the ffmpeg-devel
mailing list