Make sure priv_data is freed and codec is set to NULL in case of failure of avcodec_o...
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Sep 2009 15:16:36 +0000 (15:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Sep 2009 15:16:36 +0000 (15:16 +0000)
commit2a9b5c9b429d4162f449771a5043310b3f4acc06
tree738e1a196fde016311f5ab0aa4fd2fbc6aadc104
parentaedc98b0a4ee434aa54908b815f78a4c563c1d31
Make sure priv_data is freed and codec is set to NULL in case of failure of avcodec_open().

Originally committed as revision 20002 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/utils.c