lavc/utils: free private options on avcodec_open2 fail
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Sat, 22 Nov 2014 23:55:33 +0000 (00:55 +0100)
committerLukasz Marek <lukasz.m.luki2@gmail.com>
Tue, 25 Nov 2014 22:09:16 +0000 (23:09 +0100)
commit1907ff0a67edeb98d9153aac79f35961837ba3f6
treed985f230e0ac1043c63236feb336c1633f2cdad1
parentea0d8938173e12b289243c88c6a79dc6651e6ed9
lavc/utils: free private options on avcodec_open2 fail

It protects leaking string/binary/dict options from priv context.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
libavcodec/utils.c