[FFmpeg-devel] [PATCH V1] avutil/file: always set *size to zero if *bufptr is NULL

Paul B Mahol onemda at gmail.com
Fri Aug 30 09:50:15 EEST 2019


On 8/30/19, mypopy at gmail.com <mypopy at gmail.com> wrote:
> 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

Please refrain from applying patches that have typos in logs.


More information about the ffmpeg-devel mailing list