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
/
webpenc.c
diff --git
a/libavformat/webpenc.c
b/libavformat/webpenc.c
index
2e0147c
..
9fb4722
100644
(file)
--- a/
libavformat/webpenc.c
+++ b/
libavformat/webpenc.c
@@
-158,7
+158,7
@@
static int webp_write_packet(AVFormatContext *s, AVPacket *pkt)
int ret;
if ((ret = flush(s, 0, pkt->pts)) < 0)
return ret;
- av_
copy_packet
(&w->last_pkt, pkt);
+ av_
packet_ref
(&w->last_pkt, pkt);
}
++w->frame_count;