Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in
authorArt Clarke <aclarke@vlideshow.com>
Wed, 15 Jul 2009 10:00:16 +0000 (10:00 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 15 Jul 2009 10:00:16 +0000 (10:00 +0000)
commitebb82604b0b14c79917466107c39592a20e5b0c5
treec193c8a584f443ee35dd4c6f6c3ac22fda8d8f6e
parent65b875d8fcc2a40cc45b41516c4bec4f90909b20
Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in
(wherein av_open_input_file assumes memory ownership).
Patch by Art Clarke a<surname> xuggle com

Originally committed as revision 19436 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c