git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dc6dc
)
avconv: do not free muxed packet on streamcopy.
author
Anton Khirnov
<anton@khirnov.net>
Wed, 31 Oct 2012 20:15:41 +0000
(21:15 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 2 Nov 2012 17:28:56 +0000
(18:28 +0100)
The packet belongs to lavf, the caller must not free it or access it in
any other way.
No change in practice, since destruct is set to NULL anyway.
avconv.c
patch
|
blob
|
history
diff --git
a/avconv.c
b/avconv.c
index
d0902a6
..
964847a
100644
(file)
--- a/
avconv.c
+++ b/
avconv.c
@@
-1045,7
+1045,6
@@
static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
write_frame(of->ctx, &opkt, ost);
ost->st->codec->frame_number++;
- av_free_packet(&opkt);
}
static void rate_emu_sleep(InputStream *ist)