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
/
aiffenc.c
diff --git
a/libavformat/aiffenc.c
b/libavformat/aiffenc.c
index
fcadf14
..
aab3741
100644
(file)
--- a/
libavformat/aiffenc.c
+++ b/
libavformat/aiffenc.c
@@
-233,7
+233,8
@@
static int aiff_write_packet(AVFormatContext *s, AVPacket *pkt)
if (!pict_list)
return AVERROR(ENOMEM);
- if ((ret = av_copy_packet(&pict_list->pkt, pkt)) < 0) {
+ ret = av_packet_ref(&pict_list->pkt, pkt);
+ if (ret < 0) {
av_freep(&pict_list);
return ret;
}