[FFmpeg-devel] [PATCH 2/2] avcodec/noise_bsf: move the reference in the bsf internal buffer

Michael Niedermayer michael at niedermayer.cc
Sun Mar 18 03:28:14 EET 2018


On Fri, Mar 16, 2018 at 08:16:01PM -0300, James Almer wrote:
> There's no need to allocate a new packet for it.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/noise_bsf.c | 30 ++++++++----------------------
>  1 file changed, 8 insertions(+), 22 deletions(-)

should be ok assumung the the packet from ff_bsf_get_packet_ref can be
modified, this is not documented in bsf.h

thx

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

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20180318/abed4685/attachment.sig>


More information about the ffmpeg-devel mailing list