summaryrefslogtreecommitdiff
path: root/src/ffframe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffframe.cc')
-rw-r--r--src/ffframe.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ffframe.cc b/src/ffframe.cc
index cdce5ae..b6d8e14 100644
--- a/src/ffframe.cc
+++ b/src/ffframe.cc
@@ -26,13 +26,15 @@
#include <config.h>
#include "ffframe.h"
+#include "debug.h"
+
FFFrame::FFFrame()
{
- frame = avcodec_alloc_frame();
+ frame = avcodec_alloc_frame(); ALLOC(frame, "FFFrame (inside obj)");
}
FFFrame::~FFFrame()
{
- av_free(frame);
+ av_free(frame); FREE(frame);
}