avcodec/mpeg4_unpack_bframes: make sure the packet is writable when data needs to...
authorJames Almer <jamrial@gmail.com>
Wed, 28 Mar 2018 04:42:33 +0000 (01:42 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 28 Mar 2018 04:42:33 +0000 (01:42 -0300)
commit1b9b469cdb1f2dbf7692b8c1a63257899f6c8f19
treec1d79fd6e189d886fc0e0daddfd22f7d02c31139
parenta45ba0881c937e7b3c8000c9d06b031517dfe2ec
avcodec/mpeg4_unpack_bframes: make sure the packet is writable when data needs to be changed

Nothing currently guarantees that the packet passed to the bsf will
be writable.

Based on commit 4f2ff3a53e170d77e1dd231d7246a74e186011c9

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mpeg4_unpack_bframes_bsf.c