Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schlaile <peter@schlaile.de>2012-12-02 19:15:44 +0400
committerPeter Schlaile <peter@schlaile.de>2012-12-02 19:15:44 +0400
commitecf89326e1f2650fe8fcd792f9bdabf3397e460d (patch)
tree22f7d1272d1d77866db85e4ee473e0fb3ef819c2 /source/blender/imbuf/intern/IMB_anim.h
parentd7960b8fd4adf5e066e0040203d1595d9b6dfc52 (diff)
== FFMPEG ==
This fixes a memory leak caused by the last packet on stream EOF not freed. (Memory leak occurs on ffmpeg heap managed by av_malloc / av_free, so it is invisible to Blender) Also: clean up the code a little bit (anim->next_packet was never really used, so could be moved into a local variable)
Diffstat (limited to 'source/blender/imbuf/intern/IMB_anim.h')
-rw-r--r--source/blender/imbuf/intern/IMB_anim.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/IMB_anim.h b/source/blender/imbuf/intern/IMB_anim.h
index ed349e8f7eb..684a1476e44 100644
--- a/source/blender/imbuf/intern/IMB_anim.h
+++ b/source/blender/imbuf/intern/IMB_anim.h
@@ -178,7 +178,6 @@ struct anim {
struct ImBuf *last_frame;
int64_t last_pts;
int64_t next_pts;
- AVPacket next_packet;
#endif
#ifdef WITH_REDCODE