avcodec/options: factorize avcodec_copy_context() cleanup code
authorJames Almer <jamrial@gmail.com>
Sat, 22 Apr 2017 16:25:32 +0000 (13:25 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 6 May 2017 20:29:59 +0000 (17:29 -0300)
commit4f19268eee12053ee7f7dc451e5a7b5b7bcbfa28
tree768a91ed99a78a5dd866f41eeb9b8131ce6b3e95
parent58a8e4733ae0b597aa0c92bdc73462a9fe8114cc
avcodec/options: factorize avcodec_copy_context() cleanup code

Reviewed-by: Aaron Levinson <alevinsn@aracnet.com>
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 54a4c9b4e9a1524b1ac5d2be97c8042272402d0a)
libavcodec/options.c