Message ID | 20171225193905.84024-1-ffmpeg@tmm1.net |
---|---|
State | New |
Headers | show |
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 74f66ce6bd..f636db0144 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -250,7 +250,7 @@ static int hlsenc_io_open(AVFormatContext *s, AVIOContext **pb, char *filename, AVDictionary **options) { HLSContext *hls = s->priv_data; int http_base_proto = filename ? is_http_proto(filename) : 0; - int err = AVERROR_MUXER_NOT_FOUND; + int err = AVERROR_PROTOCOL_NOT_FOUND; if (!*pb || !http_base_proto || !hls->http_persistent) { err = s->io_open(s, pb, filename, AVIO_FLAG_WRITE, options); #if CONFIG_HTTP_PROTOCOL