Browse Source

doc/examples/muxing: free swr context at the end

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Michael Niedermayer 11 years ago
parent
commit
8b1d54ba40
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      doc/examples/muxing.c

+ 1
- 0
doc/examples/muxing.c View File

@@ -547,6 +547,7 @@ static void close_stream(AVFormatContext *oc, OutputStream *ost)
av_frame_free(&ost->frame);
av_frame_free(&ost->tmp_frame);
sws_freeContext(ost->sws_ctx);
swr_free(&ost->swr_ctx);
}

/**************************************************************/


Loading…
Cancel
Save