diff options
author | James Almer <jamrial@gmail.com> | 2017-09-23 20:30:13 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-25 21:26:38 -0300 |
commit | a447b75de8edb8658ad3c50af0c342bcdda2b57b (patch) | |
tree | 0b8c9cfa1d8edf59ea47d2bf270e35bc1b80a588 /libavformat/mp3enc.c | |
parent | ecb9741ba294d7617ca85aaec0226ee9be7f518d (diff) |
avformat: replace all uses of av_copy_packet()
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r-- | libavformat/mp3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 3cbf7bd137..826878eca1 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -523,7 +523,7 @@ static int mp3_write_packet(AVFormatContext *s, AVPacket *pkt) return mp3_write_audio_packet(s, pkt); } - ret = av_copy_packet(&pktl->pkt, pkt); + ret = av_packet_ref(&pktl->pkt, pkt); if (ret < 0) { av_freep(&pktl); return ret; |