aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/amfenc.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-11-19 19:42:48 -0300
committerJames Almer <jamrial@gmail.com>2019-11-19 19:49:09 -0300
commit08d3cc2f1dafe406b257d1daaae82ccae5d5378e (patch)
treeb58b670b01b28b25190b4fa9631ba5cfaa2a29a6 /libavcodec/amfenc.h
parent4df5dfabcc1c2ff332ba3d9a6d68ec21df2c1ac4 (diff)
downloadffmpeg-08d3cc2f1dafe406b257d1daaae82ccae5d5378e.tar.gz
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> (cherry picked from commit fdf46b4a6b36dd8551adc29c455326b1a13b4acb)
Diffstat (limited to 'libavcodec/amfenc.h')
0 files changed, 0 insertions, 0 deletions