summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/advtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/advtime.c b/src/advtime.c
index be0427e..b68b73a 100644
--- a/src/advtime.c
+++ b/src/advtime.c
@@ -197,7 +197,8 @@ main(int argc, char **argv)
}
video_decode_free_frame(&frame_a);
- video_decode_free_frame(&frame_b);
+ if (frame_b)
+ video_decode_free_frame(&frame_b);
video_decode_uninit(&vd);
return EXIT_SUCCESS;
}