]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Add a ff_h264_free_context function and call it from the H.264 parser.
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)
commit1eb40be0e1cdd1d2d196ff1000bdbcc8aa66f068
tree11454acaacfcc39a8b948232ede50e59d7931d23
parent7e532dd73cd2f02a3370a7a2835cd73457c34e0d
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18406 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_parser.c