projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avformat: replace all uses of av_copy_packet()
[ffmpeg.git]
/
libavformat
/
mp3enc.c
diff --git
a/libavformat/mp3enc.c
b/libavformat/mp3enc.c
index
3cbf7bd
..
826878e
100644
(file)
--- 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;