summaryrefslogtreecommitdiff
path: root/src/video_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_decode.c')
-rw-r--r--src/video_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_decode.c b/src/video_decode.c
index 3b9da04..f9e8859 100644
--- a/src/video_decode.c
+++ b/src/video_decode.c
@@ -82,7 +82,7 @@ video_decode_uninit(struct video_decode **_vd)
*_vd = NULL;
avcodec_close(vd->codec_ctx);
- av_close_input_file(&vd->fmt_ctx);
+ av_close_input_file(vd->fmt_ctx);
// avformat_close_input(&vd->fmt_ctx);
free(vd);
}