aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/assdec.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-04 23:57:40 +0000
committerMark Thompson <sw@jkqxz.net>2017-04-30 17:33:18 +0100
commitc5714b51aad41fef56dddac1d542e7fc6b984627 (patch)
tree36b79528a6d02075880423c820246178cbc26de9 /libavformat/assdec.c
parente1c5d56b18b82e3fb42382b1b1f972e8b371fc38 (diff)
downloadffmpeg-c5714b51aad41fef56dddac1d542e7fc6b984627.tar.gz
hwcontext: Improve allocation in derived contexts
Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves.
Diffstat (limited to 'libavformat/assdec.c')
0 files changed, 0 insertions, 0 deletions