Add a ff_h264_free_context function and call it from the H.264 parser.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)
commit15861962a7a9e64fbe75f5cc0dc7d1c032db8dd5
treec2a8fb920ce91b8e7d0a64def8c7b947e88c47ac
parentc81185a18333b28439476fdc00979225158c8755
Add a ff_h264_free_context function and call it from the H.264 parser.
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.

Originally committed as revision 18406 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_parser.c