avformat/bethsoftvid: Fix potential memleak upon reallocation failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 21 Mar 2020 02:57:32 +0000 (03:57 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Mar 2020 12:00:19 +0000 (13:00 +0100)
commit5acef1206144554a48f699b421e8d739e752d8ab
tree3f7c162f3a4bfae4995d9de580551a744ad74d95
parent6e14ddd1567e215957b754c2863ec715f74607b9
avformat/bethsoftvid: Fix potential memleak upon reallocation failure

The classical ptr = av_realloc(ptr, size), just with av_fast_realloc().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/bethsoftvid.c