Browse Source

tools/uncoded_frame: Use avio_closep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
323355413d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/uncoded_frame.c

+ 1
- 1
tools/uncoded_frame.c View File

@@ -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);
}
}


Loading…
Cancel
Save