Quoting James Almer (2016-11-19 19:33:58)
> If realloc fails, the pointer is overwritten and the previously allocated
> buffer
> is leaked, which goes against the expected functionality of keeping the packet
> unchanged in case of error.
>
> Signed-off-by: James Almer
> ---
> Should be backporte
On Sat, Nov 19, 2016 at 1:33 PM, James Almer wrote:
> If realloc fails, the pointer is overwritten and the previously allocated
> buffer
> is leaked, which goes against the expected functionality of keeping the packet
> unchanged in case of error.
>
> Signed-off-by: James Almer
> ---
> Should be
If realloc fails, the pointer is overwritten and the previously allocated buffer
is leaked, which goes against the expected functionality of keeping the packet
unchanged in case of error.
Signed-off-by: James Almer
---
Should be backported to release/12.
libavcodec/avpacket.c | 7 ---
1 fil