aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-30 10:25:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-30 10:26:04 +0200
commit7dfe798d148bf4730cf23484bea15462424cd6b5 (patch)
tree894a2fd028a477507187b6e24e4db58849604157 /libavformat
parentef1544740e023c26d93f9b11904ad1725139d5e7 (diff)
parent06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd (diff)
downloadffmpeg-7dfe798d148bf4730cf23484bea15462424cd6b5.tar.gz
Merge commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd'
* commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd': hls: Free packets when skipping packets when seeking Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index f5899f7924..2b39030837 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -702,6 +702,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