There's no need to allocate a new packet for it.
Signed-off-by: James Almer
---
Now using av_packet_make_writable() to make sure the packet can be
written to.
libavcodec/noise_bsf.c | 25 +
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/libavcodec/noise_b
On Wed, Mar 21, 2018 at 10:53:04PM -0300, James Almer wrote:
> There's no need to allocate a new packet for it.
>
> Signed-off-by: James Almer
> ---
> Now using av_packet_make_writable() to make sure the packet can be
> written to.
>
> libavcodec/noise_bsf.c | 25 +
> 1
On 3/23/2018 10:24 PM, Michael Niedermayer wrote:
> On Wed, Mar 21, 2018 at 10:53:04PM -0300, James Almer wrote:
>> There's no need to allocate a new packet for it.
>>
>> Signed-off-by: James Almer
>> ---
>> Now using av_packet_make_writable() to make sure the packet can be
>> written to.
>>
>> l