projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ece44
)
avformat/mux: Dont leave stale side data pointers in ff_interleave_add_packet()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Jun 2014 12:48:22 +0000
(14:48 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Jun 2014 12:48:22 +0000
(14:48 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mux.c
patch
|
blob
|
history
diff --git
a/libavformat/mux.c
b/libavformat/mux.c
index
4edb652
..
57044f3
100644
(file)
--- a/
libavformat/mux.c
+++ b/
libavformat/mux.c
@@
-666,6
+666,8
@@
FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif
pkt->buf = NULL;
+ pkt->side_data = NULL;
+ pkt->side_data_elems = 0;
if ((pkt->flags & AV_PKT_FLAG_UNCODED_FRAME)) {
av_assert0(pkt->size == UNCODED_FRAME_PACKET_SIZE);
av_assert0(((AVFrame *)pkt->data)->buf);