[FFmpeg-devel] [PATCH] avcodec/mpeg4_unpack_bframes: make sure the packet is writable when data needs to changed

James Almer jamrial at gmail.com
Thu Mar 22 21:44:45 EET 2018


On 3/22/2018 4:34 PM, Michael Niedermayer wrote:
> On Wed, Mar 21, 2018 at 10:41:03PM -0300, James Almer wrote:
>> Nothing currently guarantees that the packet passed to the bsf will
>> be writable.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> This supersedes "[PATCH 2/2] avcodec/mpeg4_unpack_bframes: allocate a
>> new packet when data needs to be changed"
>>
>>  libavcodec/mpeg4_unpack_bframes_bsf.c | 3 +++
>>  1 file changed, 3 insertions(+)
> 
> didnt test yet but should be ok
> 
> thx

Pushed, thanks.


More information about the ffmpeg-devel mailing list