diff options
Diffstat (limited to 'libao2/ao_lavc.c')
-rw-r--r-- | libao2/ao_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_lavc.c b/libao2/ao_lavc.c index 6aab53e291..ef76db2717 100644 --- a/libao2/ao_lavc.c +++ b/libao2/ao_lavc.c @@ -391,7 +391,7 @@ static int encode(struct ao *ao, double apts, void *data) ac->savepts = frame->pts; } - av_free(frame); + avcodec_free_frame(&frame); } else { |