Commit f19b0c6a authored by Steven Liu's avatar Steven Liu

avformat/hlsenc: reindent after previous commits

Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent c8f625f5
......@@ -2233,7 +2233,7 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt)
} else {
ret = hlsenc_io_open(s, &vs->out, vs->avf->url, NULL);
if (ret < 0) {
av_log(NULL, AV_LOG_ERROR, "Failed to open file '%s'\n",
av_log(s, AV_LOG_ERROR, "Failed to open file '%s'\n",
vs->avf->url);
return ret;
}
......@@ -2328,7 +2328,7 @@ static int hls_write_trailer(struct AVFormatContext *s)
if (!(hls->flags & HLS_SINGLE_FILE)) {
ret = hlsenc_io_open(s, &vs->out, vs->avf->url, NULL);
if (ret < 0) {
av_log(NULL, AV_LOG_ERROR, "Failed to open file '%s'\n", vs->avf->url);
av_log(s, AV_LOG_ERROR, "Failed to open file '%s'\n", vs->avf->url);
goto failed;
}
write_styp(vs->out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment