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:
a2b7eee
)
hls: Free packets when skipping packets when seeking
author
Martin Storsjö
<martin@martin.st>
Mon, 29 Jul 2013 08:27:44 +0000
(11:27 +0300)
committer
Martin Storsjö
<martin@martin.st>
Mon, 29 Jul 2013 17:15:50 +0000
(20:15 +0300)
This fixes memory leaks present since
2b3d041cdc
.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hls.c
patch
|
blob
|
history
diff --git
a/libavformat/hls.c
b/libavformat/hls.c
index
0c836c7
..
9aef5e0
100644
(file)
--- a/
libavformat/hls.c
+++ b/
libavformat/hls.c
@@
-651,6
+651,8
@@
start:
c->seek_timestamp = AV_NOPTS_VALUE;
break;
}
+ av_free_packet(&var->pkt);
+ reset_packet(&var->pkt);
}
}
/* Check if this stream still is on an earlier segment number, or