avcodec/amfnec: allocate packets using av_new_packet()
This ensures they will be reference counted, as required by the AVCodec.receive_packet()
API.
Should fix ticket #8386.
Signed-off-by:
James Almer <jamrial@gmail.com>
Showing
Please
register
or
sign in
to comment