Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-03-14 13:38:20 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-03-16 12:31:36 +0300
commit0d4b8a2c163bd4f7e4ce579c139edd621c7832bf (patch)
tree297510c395d5515b46e5f9d9fcf562ffe528452c /libavformat/avio_internal.h
parentfa3eecf9ab6e20c1c74554fc2eb8b8e4245935b4 (diff)
hls: read protocol options through the AVIOContext
This reverts commit 9f9ed79d4cb40e5d9093899f8a79086ff23da844. The hlsopts member was never set anywhere and always NULL, furthermore the HLS demuxer needs to retrieve the proper options from the underlying http protocol (cookies, user-agent, etc), so a dummy context won't help. Instead, use the AVIOContext directly to access the options.
Diffstat (limited to 'libavformat/avio_internal.h')
-rw-r--r--libavformat/avio_internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index ba9bd4e2a4..3867be6e97 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -24,11 +24,6 @@
#include "libavutil/log.h"
-typedef struct AVIOInternal {
- URLContext *h;
- void *hlsopts;
-} AVIOInternal;
-
extern const AVClass ff_avio_class;
int ffio_init_context(AVIOContext *s,