summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/uncoded_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c
index 53e71ea..3ca2ba4 100644
--- a/tools/uncoded_frame.c
+++ b/tools/uncoded_frame.c
@@ -269,7 +269,7 @@ fail:
st = &streams[i];
if (st->mux) {
if (st->mux->pb)
- avio_close(st->mux->pb);
+ avio_closep(&st->mux->pb);
avformat_free_context(st->mux);
}
}
OpenPOWER on IntegriCloud