ret = hlsenc_io_open(s, &hls->m3u8_out, temp_filename, &options);
av_dict_free(&options);
if (ret < 0) {
- av_log(NULL, AV_LOG_ERROR, "Failed to open master play list file '%s'\n",
+ av_log(s, AV_LOG_ERROR, "Failed to open master play list file '%s'\n",
temp_filename);
goto fail;
}
m3u8_rel_name = get_relative_url(hls->master_m3u8_url, vs->m3u8_name);
if (!m3u8_rel_name) {
- av_log(NULL, AV_LOG_ERROR, "Unable to find relative URL\n");
+ av_log(s, AV_LOG_ERROR, "Unable to find relative URL\n");
goto fail;
}
}
if (!vid_st && !aud_st) {
- av_log(NULL, AV_LOG_WARNING, "Media stream not found\n");
+ av_log(s, AV_LOG_WARNING, "Media stream not found\n");
continue;
}
}
}
if (j == hls->nb_ccstreams)
- av_log(NULL, AV_LOG_WARNING, "mapping ccgroup %s not found\n",
+ av_log(s, AV_LOG_WARNING, "mapping ccgroup %s not found\n",
vs->ccgroup);
}