Lines Matching refs:key_file
170 char key_file[LINE_BUFFER_SIZE + 1]; member
232 char key_file[LINE_BUFFER_SIZE + 1]; member
732 av_strlcpy(hls->key_file, hls->key_url, sizeof(hls->key_file)); in do_encrypt()
735 av_strlcpy(hls->key_file, hls->key_basename, sizeof(hls->key_file)); in do_encrypt()
758 if (!*hls->key_file) { in do_encrypt()
776 ret = s->io_open(s, &pb, hls->key_file, AVIO_FLAG_WRITE, &options); in do_encrypt()
808 ff_get_line(pb, vs->key_file, sizeof(vs->key_file)); in hls_encryption_start()
809 vs->key_file[strcspn(vs->key_file, "\r\n")] = '\0'; in hls_encryption_start()
821 if (!*vs->key_file) { in hls_encryption_start()
827 ret = s->io_open(s, &pb, vs->key_file, AVIO_FLAG_READ, &options); in hls_encryption_start()
830 av_log(hls, AV_LOG_ERROR, "error opening key file %s\n", vs->key_file); in hls_encryption_start()
837 av_log(hls, AV_LOG_ERROR, "error reading key file %s\n", vs->key_file); in hls_encryption_start()