summaryrefslogtreecommitdiff
path: root/src/decode_frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decode_frame.c')
-rw-r--r--src/decode_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode_frame.c b/src/decode_frame.c
index 045207b..d518311 100644
--- a/src/decode_frame.c
+++ b/src/decode_frame.c
@@ -174,7 +174,7 @@ main(int argc, char *argv[])
av_free(frame_rgb);
av_free(frame);
avcodec_close(codec_ctx);
- av_close_input_file(&fmt_ctx);
+ av_close_input_file(fmt_ctx);
// avformat_close_input(&fmt_ctx);
return 0;