projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744d813
)
mux: Do not leave stale side data pointers in ff_interleave_add_packet()
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 May 2015 22:55:42 +0000
(23:55 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Tue, 19 May 2015 11:14:18 +0000
(12:14 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/mux.c
patch
|
blob
|
history
diff --git
a/libavformat/mux.c
b/libavformat/mux.c
index
df4f57a
..
d4492d1
100644
(file)
--- a/
libavformat/mux.c
+++ b/
libavformat/mux.c
@@
-400,6
+400,8
@@
FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif
pkt->buf = NULL;
+ pkt->side_data = NULL;
+ pkt->side_data_elems = 0;
// Duplicate the packet if it uses non-allocated memory
if ((ret = av_dup_packet(&this_pktl->pkt)) < 0) {
av_free(this_pktl);