forked from bartvdbraak/blender
== REDCODE ==
Forgot to free redcontext in IMB_free_anim...
This commit is contained in:
parent
6be7bb5e03
commit
cfd67321d2
@ -312,6 +312,9 @@ void IMB_free_anim_ibuf(struct anim * anim) {
|
|||||||
#ifdef WITH_FFMPEG
|
#ifdef WITH_FFMPEG
|
||||||
static void free_anim_ffmpeg(struct anim * anim);
|
static void free_anim_ffmpeg(struct anim * anim);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WITH_REDCODE
|
||||||
|
static void free_anim_redcode(struct anim * anim);
|
||||||
|
#endif
|
||||||
|
|
||||||
void IMB_free_anim(struct anim * anim) {
|
void IMB_free_anim(struct anim * anim) {
|
||||||
if (anim == NULL) {
|
if (anim == NULL) {
|
||||||
@ -330,6 +333,9 @@ void IMB_free_anim(struct anim * anim) {
|
|||||||
#ifdef WITH_FFMPEG
|
#ifdef WITH_FFMPEG
|
||||||
free_anim_ffmpeg(anim);
|
free_anim_ffmpeg(anim);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WITH_REDCODE
|
||||||
|
free_anim_redcode(anim);
|
||||||
|
#endif
|
||||||
|
|
||||||
free(anim);
|
free(anim);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user