summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/frame_to_pgm.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 75500be..1209931 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1 +1,2 @@
decode_frame
+frame_to_pgm
diff --git a/src/frame_to_pgm.c b/src/frame_to_pgm.c
index f018099..f6a7dc9 100644
--- a/src/frame_to_pgm.c
+++ b/src/frame_to_pgm.c
@@ -41,4 +41,7 @@ main(int argc, char **argv)
pgm_save(frame->data, frame->stride, frame->width, frame->height,
argv[2]);
+
+ video_decode_free_frame(&frame);
+ video_decode_uninit(&vd);
}