avcodec/remove_extradata: move the reference in the bsf internal buffer
authorJames Almer <jamrial@gmail.com>
Sun, 11 Mar 2018 16:45:19 +0000 (13:45 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 11 Mar 2018 18:41:15 +0000 (15:41 -0300)
commita1a0859ad52e8f5161b1ba15cc951783e52b5ff8
tree26dd6482912caaa9e19856f9e48ce29c10732c4f
parent11bef2fe7232d290541a112efb2d360600c7b917
avcodec/remove_extradata: move the reference in the bsf internal buffer

There's no need to allocate a new packet for it.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/remove_extradata_bsf.c