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

Michael Niedermayer michael at niedermayer.cc
Thu Mar 22 21:34:38 EET 2018


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180322/d0e27f96/attachment.sig>


More information about the ffmpeg-devel mailing list