diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2005-05-19 19:11:40 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2005-05-19 19:11:40 +0000 |
commit | ba4ffc2b48832c7ca95ac6e48f8c4f23aa4ad3a6 (patch) | |
tree | dee43713d717eaa4de15b793a597b19777b55780 /libavcodec/h264.c | |
parent | 2c578058313e1f62c9d7e939a0e350eab95af669 (diff) | |
download | ffmpeg-ba4ffc2b48832c7ca95ac6e48f8c4f23aa4ad3a6.tar.gz |
memory leak
Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index cf0580c7c5..d8dbc3fa0b 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3491,6 +3491,7 @@ static void flush_dpb(AVCodecContext *avctx){ h->delayed_pic[i]= NULL; h->delayed_output_pic= NULL; idr(h); + h->s.current_picture_ptr->reference= 0; } /** |