summaryrefslogtreecommitdiff
path: root/doc/examples/muxing.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/muxing.c')
-rw-r--r--doc/examples/muxing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 4276114306..9ad6e28281 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -280,7 +280,7 @@ static void write_audio_frame(AVFormatContext *oc, AVStream *st)
av_err2str(ret));
exit(1);
}
- avcodec_free_frame(&frame);
+ av_frame_free(&frame);
}
static void close_audio(AVFormatContext *oc, AVStream *st)