diff options
author | wm4 <wm4@nowhere> | 2015-10-28 23:48:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-28 23:48:56 +0100 |
commit | 3c081dfd938181dcd0c7dfedbbc3db460d757e38 (patch) | |
tree | a07bac72b94ad7d65d76f37971afcef052667234 /audio/filter | |
parent | a135c9cffc0be4dd980f41e424d88821ea1222c1 (diff) |
Replace deprecated av_free_packet() calls
av_free_packet() got finally deprecated. Use av_packet_unref() instead,
which has almost the same semantics, has existed for a while, and is
available in all FFmpeg and Libav versions we support.
Diffstat (limited to 'audio/filter')
-rw-r--r-- | audio/filter/af_lavcac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_lavcac3enc.c b/audio/filter/af_lavcac3enc.c index 21595a656f..c1e6b964ad 100644 --- a/audio/filter/af_lavcac3enc.c +++ b/audio/filter/af_lavcac3enc.c @@ -146,7 +146,7 @@ static void uninit(struct af_instance* af) af_ac3enc_t *s = af->priv; if (s) { - av_free_packet(&s->pkt); + av_packet_unref(&s->pkt); if(s->lavc_actx) { avcodec_close(s->lavc_actx); av_free(s->lavc_actx); |