projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0562f95
)
lavf/hls: don't convert NULL options to empty strings; fixes HTTP CRLF warnings
author
Rodger Combs
<rodger.combs@gmail.com>
Mon, 21 Sep 2015 02:50:22 +0000
(21:50 -0500)
committer
Rodger Combs
<rodger.combs@gmail.com>
Fri, 9 Oct 2015 09:12:57 +0000
(
04:12
-0500)
libavformat/hls.c
patch
|
blob
|
history
diff --git
a/libavformat/hls.c
b/libavformat/hls.c
index ebd3f951d0f7a47e224dcaeec96af0189b56ec6e..ff95519fb3b14576c3df30b0904fb482732de87b 100644
(file)
--- a/
libavformat/hls.c
+++ b/
libavformat/hls.c
@@
-1300,7
+1300,7
@@
static int save_avio_options(AVFormatContext *s)
int ret = 0;
while (*opt) {
- if (av_opt_get(s->pb, *opt, AV_OPT_SEARCH_CHILDREN, &buf) >= 0) {
+ if (av_opt_get(s->pb, *opt, AV_OPT_SEARCH_CHILDREN
| AV_OPT_ALLOW_NULL
, &buf) >= 0) {
ret = av_dict_set(&c->avio_opts, *opt, buf,
AV_DICT_DONT_STRDUP_VAL);
if (ret < 0)