mirror of https://github.com/FFmpeg/FFmpeg.git
extra_data and normal packets (from ff_decode_get_packet) processing do not overlap, thus we can re-use the spare AVPacket to send to ffmmal_add_packet. Furthermore, this removes allocation of AVPacket on the stack and stops using deprecated av_init_packet. Tested-by: Cameron Gutman <aicommander@gmail.com> Signed-off-by: Ho Ming Shun <cyph1984@gmail.com>pull/376/head
parent
b54377b3a7
commit
6f0e8b998a
1 changed files with 3 additions and 5 deletions
Loading…
Reference in new issue