You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
487 B
15 lines
487 B
--- a/libavformat/hls.c 2018-08-17 13:06:01.428702126 +0200
|
|
+++ b/libavformat/hls.c 2018-08-17 13:06:15.077944569 +0200
|
|
@@ -2062,8 +2062,10 @@
|
|
HLSContext *c = s->priv_data;
|
|
int ret, i, minplaylist = -1;
|
|
|
|
- recheck_discard_flags(s, c->first_packet);
|
|
- c->first_packet = 0;
|
|
+ if (c->first_packet) {
|
|
+ recheck_discard_flags(s, 1);
|
|
+ c->first_packet = 0;
|
|
+ }
|
|
|
|
for (i = 0; i < c->n_playlists; i++) {
|
|
struct playlist *pls = c->playlists[i];
|
|
|