From c57496507be0f17bcee37c523da196eae547fdf0 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 13 Nov 2012 10:00:40 +0100 Subject: frame_to_pgm: Oops, acutally free resources.. --- src/.gitignore | 1 + src/frame_to_pgm.c | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src') 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); } -- cgit